1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-25 16:13:17 +00:00
freebsd/sys/dev
John Polstra 671116122b Don't reference the maxlen and flags fields in the ring control blocks
as separate 16-bit entities.  Some of the ring control blocks are
in NIC memory, so they must be referenced using 32-bit accesses.
Smaller accesses have been observed to fail under some conditions.
This caused the rings to be set up wrong, leading to writes by the
card outside of the intended bounds of the rings.  This problem was
diagnosed by Michael Barthelow.  Don Bowman submitted a patch which
fixed the problem using a slightly different approach.

Reference ring control blocks in NIC memory using a pointer to
volatile.

Parenthesize the BGE_HOSTADDR macro definition properly.

MFC after:	3 days
2003-01-06 23:46:47 +00:00
..
aac Use OPERATOR instead of WHEEL for make_dev(), use 0640 instead of 0644 2002-12-27 17:52:16 +00:00
acpica Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +00:00
advansys
agp - Hold the page queues lock around vm_page_wakeup(). 2002-12-23 21:47:46 +00:00
aha Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +00:00
ahb
aic Add second and thrid bus-toaster IDs 2002-11-14 05:08:22 +00:00
aic7xxx Convert the use of MAXBSIZE in the dma tag to more appropriate values. 2002-12-31 04:22:36 +00:00
amd Convert the use of vtophys() for doing autosense to use busdma. Also correct 2002-12-14 19:20:57 +00:00
amr Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/ 2002-12-30 21:18:15 +00:00
an Add support for MPI-350 the mini-pci Cisco Aironet card. This needs more 2002-12-29 19:22:07 +00:00
ar Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +00:00
asr Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +00:00
ata Try to fix the problem with burncd blank not seeing the end of 2002-12-17 16:27:45 +00:00
atkbdc
awi Correct mbuf packet header propagation. Previously, packet headers 2002-12-30 20:22:40 +00:00
bge Don't reference the maxlen and flags fields in the ring control blocks 2003-01-06 23:46:47 +00:00
bktr Fix a panic unloading the bktr driver when devfs is in use. 2002-12-09 09:04:09 +00:00
buslogic Add some band-aid casts to quiet warnings. This driver still assumes 2002-11-06 20:34:38 +00:00
cardbus Need more parens here. 2002-11-27 17:30:41 +00:00
ccd Remove CCDF_SWAP and CCDF_PARITY, they have never been implemented. 2003-01-03 08:57:40 +00:00
ciss
cm Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/ 2002-12-30 21:18:15 +00:00
cnw network interface driver changes: 2002-11-14 23:54:55 +00:00
cs network interface driver changes: 2002-11-14 23:54:55 +00:00
ct
cy
dc Fix the missspelt letter in DC_CTYPE_PUP_AUTOSENSe define. 2002-12-18 22:45:43 +00:00
de Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +00:00
dec
dgb
digi
dpt Use bus_addr_t instead of u_int32_t in functions to convert between 2002-11-06 21:19:17 +00:00
drm Remove an unused variable that snuck in the last commit. 2002-12-04 23:39:05 +00:00
ed Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +00:00
eisa
em Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +00:00
en Correct mbuf packet header propagation. Previously, packet headers 2002-12-30 20:22:40 +00:00
ep network interface driver changes: 2002-11-14 23:54:55 +00:00
ex network interface driver changes: 2002-11-14 23:54:55 +00:00
exca Do not return(foo()) in void function. 2002-12-18 22:53:24 +00:00
fb Warning fixes. 2002-11-11 10:28:44 +00:00
fdc Remove calls to cdevsw_add(), they are dreprecated on this branch now. 2002-12-28 21:39:04 +00:00
fe network interface driver changes: 2002-11-14 23:54:55 +00:00
firewire Use device_printf() and s/fc->dev/fc->bdev/. 2003-01-06 08:07:20 +00:00
fxp network interface driver changes: 2002-11-14 23:54:55 +00:00
gem - Convert to use bus_dmamap_load_mbuf(). 2003-01-06 22:09:01 +00:00
gfb Move include of opt_fb.h earlier so that FB_INSTALL_CDEV is defined in 2002-11-08 21:04:44 +00:00
gx network interface driver changes: 2002-11-14 23:54:55 +00:00
hea Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +00:00
hfa Adjust some casts to quiet warnings. 2002-11-06 22:58:55 +00:00
hifn Correct mbuf packet header propagation. Previously, packet headers 2002-12-30 20:22:40 +00:00
hme Convert to use bus_dmamap_load_mbuf(); decouple software TX descriptors 2003-01-06 22:12:57 +00:00
ic
ichsmb
ida Use [u]intmax_t and %j instead of long long and %ll to better fix warnings 2002-11-07 22:23:46 +00:00
idt Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +00:00
ie network interface driver changes: 2002-11-14 23:54:55 +00:00
iicbus network interface driver changes: 2002-11-14 23:54:55 +00:00
iir Remove S_IROTH from the make_dev() lines for iir-related devices. This 2002-12-27 16:28:31 +00:00
isp Make compiles (LINT and/or ISP_TARGET_MODE options) happier by making sure 2003-01-02 04:21:52 +00:00
ispfw
joy
kbd
lge network interface driver changes: 2002-11-14 23:54:55 +00:00
lmc Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +00:00
lnc network interface driver changes: 2002-11-14 23:54:55 +00:00
mc146818
mca
mcd Replace {disable,enable}_intr() with critical_{enter,exit}(). 2002-11-10 03:45:49 +00:00
md Move the check for the MD_SHUTDOWN flag to before the tsleep() call 2002-11-30 22:03:53 +00:00
mii
mk48txx
mlx
mly Pass correct parameters to bus_space_barrier() instead of 0 2002-11-14 13:25:53 +00:00
mpt
mse Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +00:00
musycc Use %z and %j to quiet warnings. 2002-11-07 22:21:38 +00:00
my network interface driver changes: 2002-11-14 23:54:55 +00:00
ncv o Changes to support NEWCARD. 2002-11-28 01:13:58 +00:00
nge Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/ 2002-12-30 21:18:15 +00:00
nmdm
nsp o Changes to support NEWCARD. 2002-11-28 01:09:29 +00:00
null
ofw Create the ofwcons device at SI_SUB_CONFIGURE instead of SI_SUB_DRIVERS, 2002-11-18 06:19:12 +00:00
pccard regen to 1.38 2002-11-28 01:00:40 +00:00
pccbb Remove a comple of bogus debug printfs that snuck in during some 2002-11-23 23:09:45 +00:00
pcf Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +00:00
pci Properly account for prefetchable memory when a request is being made. 2002-12-03 08:34:20 +00:00
pcic DETACH_FORCE was removed recently. Remove it here, even though this 2002-11-17 04:52:37 +00:00
pdq network interface driver changes: 2002-11-14 23:54:55 +00:00
ppbus Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/ 2002-12-30 21:18:15 +00:00
ppc
pst Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +00:00
puc Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/ 2002-12-30 21:18:15 +00:00
raidframe Remove unused second argument from DEV_STRATEGY(). 2003-01-03 05:57:35 +00:00
random Fix a buffer overrun in /dev/random which, due to the nature of the 2002-12-12 17:38:45 +00:00
ray Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +00:00
rc Use critical_enter/exit instead of disable/enable_intr to make this 2002-11-08 18:32:57 +00:00
rp
sab Sync with zs. 2003-01-05 04:07:31 +00:00
sbni network interface driver changes: 2002-11-14 23:54:55 +00:00
scd Replace {disable,enable}_intr() with critical_{enter,exit}(). 2002-11-10 03:45:49 +00:00
sf o track either_ifattach/ether_ifdetach API changes 2002-11-14 23:49:09 +00:00
si Cast a pointer to uintptr_t instead ot u_int. 2002-11-07 19:56:21 +00:00
sio Be nice. There are evidentally a number of different cards that 2002-12-21 22:37:54 +00:00
sk o track either_ifattach/ether_ifdetach API changes 2002-11-14 23:49:09 +00:00
smbus
sn network interface driver changes: 2002-11-14 23:54:55 +00:00
snc network interface driver changes: 2002-11-14 23:54:55 +00:00
snp Declare the snp ioctl()s to work on udev_t, since that is what they 2002-11-11 10:45:31 +00:00
sound Fix the duplicate unlock of the pcm read channel in certain cases. 2003-01-05 07:32:33 +00:00
speaker Merge PC98 changes. 2002-11-02 04:18:10 +00:00
sr network interface driver changes: 2002-11-14 23:54:55 +00:00
stg o Changes to support NEWCARD. 2002-11-28 01:15:01 +00:00
streams s/sokqfilter/soo_kqfilter/ for consistency with the naming of all 2002-12-23 21:37:28 +00:00
sym Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +00:00
syscons
tdfx Make use of UID_ROOT, GID_WHEEL for make_dev() arguments. 2002-12-27 16:40:54 +00:00
tga Use UID_ROOT and GID_WHEEL for uid/gid argments to make_dev(). 2002-12-27 16:44:11 +00:00
ti o track either_ifattach/ether_ifdetach API changes 2002-11-14 23:49:09 +00:00
trm Fix the panic that occurs when kldunloading trm by using the correct 2002-12-16 13:38:22 +00:00
twe Fix instances of macros with improperly parenthasized arguments. 2002-11-09 12:55:07 +00:00
tx network interface driver changes: 2002-11-14 23:54:55 +00:00
txp network interface driver changes: 2002-11-14 23:54:55 +00:00
ubsec fix memory allocation problems and collateral damage: 2003-01-06 21:23:06 +00:00
usb Update to correct NetBSD Id 2003-01-02 04:22:44 +00:00
vinum Remove unused second argument from DEV_STRATEGY(). 2003-01-03 05:57:35 +00:00
vr Import some relevant changes from Via's if_fet driver: 2002-11-25 05:15:27 +00:00
vx network interface driver changes: 2002-11-14 23:54:55 +00:00
wds - Use %p to print pointers instead of casting pointers to an int and using 2002-11-07 22:25:13 +00:00
wi Avoid casting pointers to int and using %x to print them. 2003-01-05 16:23:49 +00:00
wl Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +00:00
xe network interface driver changes: 2002-11-14 23:54:55 +00:00
zs - This damnable chip only has 1 status register for both ports, so the bit 2003-01-02 19:04:35 +00:00