Commit Graph

163681 Commits

Author SHA1 Message Date
ad
59a5b82b4e Fix cpu_need_resched(). 2007-11-19 19:03:13 +00:00
ad
f73e8d8529 IPL_IPI -> IPL_HIGH 2007-11-19 19:02:20 +00:00
ad
73f1f51cda Fix cpu_need_resched. 2007-11-19 19:01:19 +00:00
ad
c60c05b2ef TS_ASLEEP is gone. 2007-11-19 19:00:30 +00:00
ad
dc26833bb6 - Factor out too many copies of the same bit of tty code.
- Fix another tty signalling/wakeup problem.
2007-11-19 18:51:36 +00:00
ad
417cd168ee Use the softint API. 2007-11-19 18:41:29 +00:00
ad
8fa4c02554 pccons was removed. 2007-11-19 18:29:25 +00:00
minskim
315b1fb6f5 Remove MKUUCP from RELEASEVARS. It is no longer used in src. 2007-11-19 18:27:27 +00:00
xtraeme
86200ec5cc Make sure the mutex is initialized before using it, use the patch
provided by Martin Husemann on:
http://mail-index.netbsd.org/tech-kern/2007/11/16/0006.html

This fixes the uninitialized lock when calling bio_register() on mfi(4)
and other drivers, caught by LOCKDEBUG.

Ok'ed by Andrew Doran <ad@netbsd.org>
2007-11-19 16:01:09 +00:00
ad
a4c99db9fe Sync with reality, and note that programs must link against the dynamic
libpthread in order to remain compatible with future releases of NetBSD.
2007-11-19 15:53:20 +00:00
ad
8077340e63 Remove the debuglog stuff. ktrace is more useful now. 2007-11-19 15:14:11 +00:00
ad
a448c4f214 int -> ssize_t in a couple of places. 2007-11-19 15:12:18 +00:00
tsutsui
e2cf99a49a - fix a possible integer overflow
- initialize inode generation numbers with random numbers for NFS
  like newfs(8) as man page said
  XXX: sys/ufs/ext2fs/ext2fs_alloc.c:ext2fs_valloc() seems to override
       these generated numbers.
2007-11-19 15:11:50 +00:00
ad
95182011ed Enable posix_memalign(). 2007-11-19 14:48:41 +00:00
nisimura
a656f3f7be - SandpointX3 practices serial mode EPIC with the help of special
FPGA circuit.  pin A input only; pin B/C/D are not counted in.
- With EnCorePP1 heuristics find that i82559 (AD25) responds to EPIC 2.
2007-11-19 14:36:14 +00:00
jmmv
0b8bf4c013 Mark the id's libfake as obsolete and register the new h_id helper tool. 2007-11-19 14:18:35 +00:00
jmmv
ed68a80f58 Remove the libfake hack, as it breaks the build in sun2 (which does not
support shared libraries).  Reported by he@.

This was an attempt to test the exact same id binary in the system but
using fake library calls to provide fictitious but stable user/group
entries.  Instead, build a helper id binary linked against our fake
functions.  This is what we already do in, e.g. the tests for util/df.
2007-11-19 14:17:45 +00:00
pooka
5251a48396 support cv_broadcast() 2007-11-19 14:17:22 +00:00
njoly
40dffa27fd Do sensors inits before trying to attach them on the sysmon_envsys
device.
2007-11-19 12:16:44 +00:00
njoly
e96c994011 Small indentation fix for ENVSYS_BATTERY_CAPACITY_* description list. 2007-11-19 12:13:51 +00:00
jnemeth
e67de88d89 PR/37404 - Rui-Xiang Guo -- sync phy list with GENERIC 2007-11-19 11:04:46 +00:00
skrll
653e86f1a5 Remove the .note.netbsd.ident section when converting the kernel to a.out. 2007-11-19 10:28:15 +00:00
rillig
f8d3de218d Renamed dsort to dcmp, since it doesn't sort, it only compares. 2007-11-19 08:58:54 +00:00
rillig
50e4f54b4c Even on non-BSD systems, the "-R all" option should disable printing of
the "time" attribute. Noticed by Malcolm Herbert on tech-pkg.
2007-11-19 08:42:24 +00:00
uebayasi
0f2ad14fc7 target:
cmd1 && cmd2 && cmd3

|	|	|
v	v	v

target:
	cmd1
	cmd2
	cmd3

This makes the script (cmd1 && cmd2 && cmd3) slightly easier to debug.  No
functional change expected.
2007-11-19 05:54:03 +00:00
macallan
23cfff0893 various fixes and additions:
- deal with bogus parameters - just return instead of panic()ing
- try to attach a drm
- save and restore BARs in case X messes them up
2007-11-19 04:03:44 +00:00
macallan
7e95514fdc sprinkle \n 2007-11-19 04:00:39 +00:00
macallan
09f5c97a83 add genfb at pci
This should work with all firmware-supported PCI framebuffers but so far it's
only been tested with a PGX
2007-11-19 03:43:28 +00:00
macallan
56fd80e18a pull in ofw_subr.c for some convenience OpenFirmware routines 2007-11-19 03:26:04 +00:00
macallan
3cb71681aa do as macppc does and pass a bunch of parameters to PCI console framebuffers
With this we no longer need machine-dependent code in framebuffer console
drivers and we can use genfb at pci for otherwise unsupported graphics
chips as long as there's firmware support.
2007-11-19 02:52:56 +00:00
macallan
f8e81531fa put the physical address of each psycho's memory range into a device
property so we can look it up in device_register() later on
ok'ed by martin
2007-11-19 02:45:50 +00:00
ad
2783731b63 Set curlwp for the boot CPU before entering main(). 2007-11-19 02:12:11 +00:00
agc
fe6dd62563 Note to self - document in comments the reasons for doing certain things.
Revert Max LBA calculation when returning the Maximum LBA from the target
to the iinitiator, following an email conversation with Jonathan Kollasch,
who points out a number of things:

+ the NetBSD scsipi driver reads the value returned by the drive and adds
one to it, so that standard SCSI drives return the 0-based Max LBA in a
READ CAPACITY command.

+ it is up to the initiator to add 1 to the Max LBA to find out the size
of the LUN (Jonathan verified this by using the UNH iSCSI initiator on
to a NetBSD target)

+ an analogous change to the NetBSD initiator (revision 1.4 of
iscsifs.c) is needed.
2007-11-18 23:52:19 +00:00
agc
8b0e0ddc0d The iSCSI target returns the 0-based Max LBA in the READ_CAPACITY command,
and we need to add 1 to it to get the size of the LUN.

Revert Max LBA calculation when returning the Maximum LBA from the target
to the iinitiator, following an email conversation with Jonathan Kollasch,
who points out a number of things:

+ the NetBSD scsipi driver reads the value returned by the drive and adds
one to it, so that standard SCSI drives return the 0-based Max LBA in a
READ CAPACITY command.

+ it is up to the initiator to add 1 to the Max LBA to find out the size
of the LUN (Jonathan verified this by using the UNH iSCSI initiator on
to a NetBSD target)

+ an analogous change to the NetBSD target (revision 1.34 of
disk.c) is needed.
2007-11-18 23:52:13 +00:00
yamt
563b4c7f95 add newfs_ext2fs.debug 2007-11-18 22:45:02 +00:00
apb
02c42d6bae Remove unwanted ">" from a printed message. 2007-11-18 19:19:00 +00:00
bouyer
29d8eba17f Properly setup the IO APIC for ISA and pciide compat interrupts too.
Makes ACPI kernels works again with pciide controllers in compat mode.
2007-11-18 18:44:17 +00:00
ad
2795528241 #include <sys/atomic.h> instead of local prototypes. 2007-11-18 18:09:10 +00:00
ad
928d0fee5e Pull in atomic.h from the thorpej-atomic branch. 2007-11-18 18:08:35 +00:00
christos
eb90df6853 From Marco Trillo (marcotrillo at gmail dot com):
Add Advanced power management in atactl(8)
2007-11-18 17:48:21 +00:00
pooka
8dd9b67755 Don't bother tracking opencount and try to close file handles in
the close method - simply just wait for inactive and do it there.
2007-11-18 17:41:55 +00:00
ad
82a0bcef97 Work around issues with pool_cache on sparc. 2007-11-18 16:27:42 +00:00
skrll
4f3467d61e Remove unused include.
Fix unwind info with S/ENTRY/LEAF_&/
2007-11-18 14:11:25 +00:00
he
842094660b Add an overlooked define of IPL_ZS, matching with splzs(). 2007-11-18 14:01:28 +00:00
he
3d297e5d56 Ensure that file ends with a newline. 2007-11-18 13:52:44 +00:00
skrll
8ed2bd6ec6 Generate correct unwind info for syscall stubs by using LEAF_ENTRY instead
of ENTRY(foo,0) so that gdb can backtrace through the stubs.
2007-11-18 13:25:39 +00:00
skrll
ea7265c03e First cut at hppa gdb support. Not enabled yet. 2007-11-18 12:45:25 +00:00
jnemeth
237d2dd7e7 fix 'm' used unitialized 2007-11-18 12:40:15 +00:00
skrll
caacd2c467 Typo in comment. From OpenBSD. 2007-11-18 12:18:21 +00:00
jnemeth
280ec9339f remove Adam Glass as a developer as per his request 2007-11-18 10:53:03 +00:00