NetBSD/sys
dyoung 46be8b643f Fix a two races between the initialization code and cbb(4) interrupts:
establish the interrupt handler before enabling interrupts, so that
we will not get an interrupt storm that keeps the system from making
any progress.  (We may have only been susceptible to the storm if
cbb(4) shared an interrupt with, say, uhci(4)).  Also, finish
setting up the pcic_handle before enabling interrupts, so that the
Pcic_read() call in pccbbintr() will not jump to address 0!

Now, pccbb_intrinit() encapsulates all of the interrupt initialization.

Explicitly enable card-status changed (CSTSCHG) events.

Paranoia: ensure that writes to the socket event register (interrupt
acknowledgements) are flushed to the h/w by reading the register
(gross).  We really need something like
bus_space_sync(BUS_SPACE_BARRIER_WRITE_BEFORE_INTERRUPT).

More paranoia: in pccbbintr(), if the device is inactive, get out.
2008-02-02 00:31:25 +00:00
..
altq Now that __HAVE_TIMECOUNTER and __HAVE_GENERIC_TODR are invariants, 2008-01-20 18:09:03 +00:00
arch Catch up with "Refactor in_cksum/in4_cksum/in6_cksum implementations". 2008-02-01 16:37:30 +00:00
coda PR kern/37706 (forced unmount of file systems is unsafe): 2008-01-30 11:46:59 +00:00
compat PR kern/37706 (forced unmount of file systems is unsafe): 2008-01-30 11:46:59 +00:00
conf Fix some race conditions in rename. 2008-01-28 14:31:15 +00:00
contrib/dev/ath Use BUILDSYMLINKS from <bsd.files.mk> instead of custom copy rules 2008-01-17 01:13:01 +00:00
crypto use __KERNEL_RCSID() 2007-12-11 23:31:07 +00:00
ddb Convert many of the uses of __attribute__ to equivalent 2007-12-25 18:33:32 +00:00
dev Fix a two races between the initialization code and cbb(4) interrupts: 2008-02-02 00:31:25 +00:00
dist Convert rtcache_init()+rtcache_getrt() to single rtcache_init() 2008-01-14 17:17:19 +00:00
fs Remove debugging code that's no longer needed. 2008-01-31 13:13:20 +00:00
gdbscripts
ipkdb Improve chances of having this file compiled. 2007-11-24 14:20:41 +00:00
kern Replace a KAUTH_GENERIC_ISSUSER in the cpuctl code with a proper kauth 2008-02-01 20:01:06 +00:00
lib Check _STANDALONE as well as _KERNEL when choosing headers to include. 2008-01-31 08:23:13 +00:00
lkm Add new linux_uid16.c file needed for m68k. 2008-01-17 15:10:53 +00:00
miscfs PR kern/37706 (forced unmount of file systems is unsafe): 2008-01-30 11:46:59 +00:00
modules Pull in my modules code for review/test/hacking. 2008-01-16 12:34:50 +00:00
net Fix more fall-out from extracting ifioctl_common(): don't return 2008-01-23 16:51:19 +00:00
net80211 fix 0 bssid problem on rejoin. From FreeBSD. 2008-01-31 22:07:22 +00:00
netatalk Make one call to rtcache_lookup() out of calls to rtcache_setdst() 2008-01-28 18:28:31 +00:00
netbt do not destroy session callout until the session is definitely finished 2008-01-31 19:30:23 +00:00
netinet revert tcp_output.c 1.253 because it has an ill effect when sending 2008-01-29 12:34:47 +00:00
netinet6 Refactor in_cksum/in4_cksum/in6_cksum implementations: 2008-01-25 21:12:10 +00:00
netipsec Now that __HAVE_TIMECOUNTER and __HAVE_GENERIC_TODR are invariants, 2008-01-20 18:09:03 +00:00
netisdn __FUNCTION__ -> __func__ 2007-12-15 00:39:14 +00:00
netiso Use rtcache_validate() instead of rtcache_getrt(). 2008-01-14 04:17:35 +00:00
netkey s/DIGAGNOSTIC/DIAGNOSTIC/ 2008-01-13 10:45:19 +00:00
netnatm Use struct initializers. No functional change. 2007-12-07 19:46:18 +00:00
netsmb Replace crufty use of lockmgr. 2008-01-30 14:08:00 +00:00
nfs PR kern/37706 (forced unmount of file systems is unsafe): 2008-01-30 11:46:59 +00:00
opencrypto don't allocate AES keys with M_WAITOK! 2008-02-01 19:10:31 +00:00
rump Make it compile. 2008-01-30 14:57:24 +00:00
secmodel Replace a KAUTH_GENERIC_ISSUSER in the cpuctl code with a proper kauth 2008-02-01 20:01:06 +00:00
stand
sys Replace a KAUTH_GENERIC_ISSUSER in the cpuctl code with a proper kauth 2008-02-01 20:01:06 +00:00
ufs Make it work after lockmgr -> vlockmgr conversion: 2008-01-30 17:20:04 +00:00
uvm Lock swapdev_vp for VOP_OPEN. 2008-01-30 14:25:21 +00:00
Makefile remove sun2 from no-rump list 2007-09-24 14:19:36 +00:00