163606 Commits

Author SHA1 Message Date
pooka
e0122367ec Don't pass devname to {b,c}devsw_attach(), it's not used. 2007-11-20 14:47:14 +00:00
ad
b7b14106bd Don't rely on others being kind enough to pull in sys/device.h 2007-11-20 14:33:58 +00:00
yamt
3a40ff100a put back IPL_IPI as it's still used. 2007-11-20 14:31:46 +00:00
yamt
c77d808475 build rb.c. 2007-11-20 13:49:01 +00:00
yamt
c64de7a608 sync the prototype of cpu_switchto with sys/cpu.h. 2007-11-20 13:37:37 +00:00
yamt
3acf687ede rename
RB_LEFT
	RB_RIGHT
	RB_OTHER
to
	RB_DIR_LEFT
	RB_DIR_RIGHT
	RB_DIR_OTHER
so that it can coexist with sys/tree.h.
2007-11-20 12:32:55 +00:00
sborrill
3cdec1aaba Add IYSWIM 2007-11-20 12:26:12 +00:00
pooka
7c0ef2ee17 Retire M_PUFFS, use kmem(9) instead. 2007-11-20 11:51:01 +00:00
sborrill
12e455f905 Some manufacturers use the same vendor and product id for different devices.
We need to sanity check the DeviceClass in this case.

Currently known guilty products:
0x050d/0x0121 Belkin Bluetooth and USB2LAN

If this turns out to be more common, we could use a quirk table.
2007-11-20 10:43:01 +00:00
xtraeme
53cbf2f68b Improve description for ENVSYS_FMONNOTSUPP. 2007-11-20 10:08:47 +00:00
yamt
0ae55456d7 dzstart: remove a variable which is no longer used after the previous change. 2007-11-20 09:16:53 +00:00
xtraeme
21ba58354e Indentation fix for the units list. 2007-11-20 09:16:36 +00:00
yamt
636f153f4d fix compilation in the case of _KERNEL && DIAGNOSTIC && !RBDEBUG. 2007-11-20 08:30:05 +00:00
ad
a72bb4a2f0 For the last time, compile! 2007-11-20 01:53:50 +00:00
uebayasi
dfd4cf0aaf Indent. 2007-11-20 01:33:32 +00:00
uebayasi
146861b4fa Sort variable definitions. No functional change expected. 2007-11-20 01:30:07 +00:00
ad
bf2e3dcbb6 Call ttstart() with tty_lock held. 2007-11-20 00:45:23 +00:00
ad
ce2527b4f4 IPL_IPI -> IPL_HIGH 2007-11-19 23:07:48 +00:00
ad
772ae8c190 G/C the PDP cache generation stuff. When allocating, just check for a valid
entry where nkpde currently points.
2007-11-19 21:46:51 +00:00
mjf
0b2e8c0fd9 Document mjf-devfs branch. Thanks to xtraeme for reminding me to do this. 2007-11-19 20:45:41 +00:00
ad
e27aeee1b7 Work around another funny until I figure out what is going wrong: somehow,
tp->t_rawq.c_cv.cv_waiters is dropping to zero while there are still LWPs
waiting on the queue. dtrace would be really handy here :-/
2007-11-19 19:53:48 +00:00
plunky
b0d7f48f6f use optarg instead of mode when reporting failure - mode is uninitialised 2007-11-19 19:49:58 +00:00
ad
3f269d8907 Tidy up the locking a bit. 2007-11-19 19:47:00 +00:00
ad
81a2a5ec4b Regen. 2007-11-19 19:04:43 +00:00
ad
dd6968cfd3 Add a few more pcibs 2007-11-19 19:04:10 +00:00
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