1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00
freebsd/sys/dev
Warner Losh 3097aa70be Dynamically configure the width of the srom. This code comes from
OpenBSD who got the code (or the idea) from the NetBSD tlp driver.

This gets some cardbus dc cards working (either completely or nearly
so).  It also appears to get additional pci cards working, without
breaking working ones.

# Maybe some additional work is needed here.  Also, the cardbus attachment
# might need to match on the CIS rather than on the vendor/device so we have
# a finer level of detail as to what the card is.  Technically, the
# vendor/device fields are undefined for CardBus (even though most cards are
# using common silicon with pci models).
2002-10-07 05:26:35 +00:00
..
aac Some kernel threads try to do significant work, and the default KSTACK_PAGES 2002-10-02 07:44:29 +00:00
acpica Make sure that ACPI PCI driver probe routine call pci_cfgregopen() 2002-10-05 02:16:49 +00:00
advansys Be consistent about "static" functions: if the function is marked 2002-09-28 17:15:38 +00:00
agp Correct an indentation. 2002-10-03 06:10:54 +00:00
aha
ahb
aic Be consistent about "static" functions: if the function is marked 2002-09-28 17:15:38 +00:00
aic7xxx Remove a left over '&' from the conversion to using our 2002-09-30 19:55:42 +00:00
amd
amr Be consistent about "static" functions: if the function is marked 2002-09-28 17:15:38 +00:00
an Be consistent about "static" functions: if the function is marked 2002-09-28 17:15:38 +00:00
ar Use if_printf(ifp, "blah") instead of printf("ar%d: blah", ifp->if_unit). 2002-10-01 00:42:51 +00:00
asr Replace (ab)uses of "NULL" where "0" is really meant. 2002-08-22 21:24:01 +00:00
ata Some kernel threads try to do significant work, and the default KSTACK_PAGES 2002-10-02 07:44:29 +00:00
atkbdc Replace various spelling with FALLTHROUGH which is lint()able 2002-08-25 13:23:09 +00:00
awi Remove empty #if*/#endif clauses. 2002-09-21 08:44:51 +00:00
bge Fix a typo in BGE_BIGENDIAN_INIT. 2002-10-01 22:33:40 +00:00
bktr Be consistent about "static" functions: if the function is marked 2002-09-28 17:15:38 +00:00
buslogic
cardbus Don't leak the bar list for each thing we allocate. 2002-09-29 18:07:29 +00:00
ccd - Use vrefcnt() instead of v_usecount. 2002-09-25 02:42:43 +00:00
ciss Be consistent about "static" functions: if the function is marked 2002-09-28 17:15:38 +00:00
cm Use if_printf(ifp, "blah") instead of 2002-10-01 00:44:31 +00:00
cnw
cs Use if_printf(ifp, "blah") instead of 2002-10-01 00:46:41 +00:00
ct This file does not <sys/disklabel.h> 2002-09-20 18:15:40 +00:00
cy
dc Dynamically configure the width of the srom. This code comes from 2002-10-07 05:26:35 +00:00
de Replace various spelling with FALLTHROUGH which is lint()able 2002-08-25 13:23:09 +00:00
dec
dgb Be consistent about "static" functions: if the function is marked 2002-09-28 17:15:38 +00:00
digi Be consistent about "static" functions: if the function is marked 2002-09-28 17:15:38 +00:00
dpt
drm In an SMP environment post-Giant it is no longer safe to blindly 2002-10-03 02:13:00 +00:00
ed Use if_printf() instead of printf() to print "ed#: blah". 2002-10-01 00:49:28 +00:00
eisa Argh, isa(4), eisa(4) and mca(4) now attach to legacy(4) instead of 2002-09-26 18:40:06 +00:00
em Corrected license in the source files. It should say "MUST" instead of "MAY". 2002-09-24 16:27:59 +00:00
en Rename "struct device" to "struct midway_device" to avoid clashing 2002-09-28 21:59:59 +00:00
ep
ex
exca
fb Fix rare and probably inconsequential memory leak. 2002-10-02 20:34:23 +00:00
fdc Fix a probably rare and inconsequential memory leak. 2002-10-02 20:29:54 +00:00
fe Use if_printf(ifp, "blah") instead of printf("fe%d: blah", ifp->if_unit). 2002-10-01 00:52:58 +00:00
firewire don't include bus_dma.h which doesn't need. 2002-09-21 15:05:22 +00:00
fxp Add some PCI id's for fxp. I've only tested 0x103B, but the Intel 2002-09-24 23:13:38 +00:00
gem
gfb
gx Replace (ab)uses of "NULL" where "0" is really meant. 2002-08-22 21:24:01 +00:00
hea Create/destroy memory zones on module load/unload, not on device 2002-10-02 04:42:24 +00:00
hfa Use more standard variable names for modevent functions. 2002-10-02 04:47:52 +00:00
hifn Crypto device driver for hifn-based cards. Tested with 7951-, and 7811-based 2002-10-04 20:32:37 +00:00
hme
ic Move the com_scr register address definition over with the other seven. 2002-09-22 08:51:31 +00:00
ichsmb
ida use __packed. 2002-09-23 18:54:32 +00:00
idt Use more standard variable names for modevent functions. 2002-10-02 04:47:52 +00:00
ie Be consistent about "static" functions: if the function is marked 2002-09-28 17:15:38 +00:00
iicbus move <machine/iic.h> and <machine/smb.h> to <dev/iicbus/iic.h> and 2002-09-19 03:25:46 +00:00
iir Be consistent about "static" functions: if the function is marked 2002-09-28 17:15:38 +00:00
isp Some kernel threads try to do significant work, and the default KSTACK_PAGES 2002-10-02 07:44:29 +00:00
ispfw Upgrade to latest QLogic f/w from their intranet site for 2100, 2200 and 2002-09-01 02:28:36 +00:00
joy
kbd Replace various spelling with FALLTHROUGH which is lint()able 2002-08-25 13:23:09 +00:00
lge Be consistent about "static" functions: if the function is marked 2002-09-28 17:15:38 +00:00
lmc
lnc Fix mis-indentation. 2002-10-02 09:09:25 +00:00
mc146818
mca Argh, isa(4), eisa(4) and mca(4) now attach to legacy(4) instead of 2002-09-26 18:40:06 +00:00
mcd INclude <sys/mutex.h>'s prerequisite <sys/lock.h> instead of depending on 2002-10-06 03:18:14 +00:00
md Some kernel threads try to do significant work, and the default KSTACK_PAGES 2002-10-02 07:44:29 +00:00
mii Be consistent about "static" functions: if the function is marked 2002-09-28 17:15:38 +00:00
mk48txx
mlx use __packed. 2002-09-23 18:54:32 +00:00
mly use __packed. 2002-09-23 18:54:32 +00:00
mpt Code cleanup: use mpt_prt instead of device_printf. 2002-09-24 21:33:43 +00:00
mse
musycc
my
ncv Remove #include of <sys/disklabel.h> (and a few other unused #includes I 2002-09-20 16:49:36 +00:00
nge
nmdm
nsp Remove unused #includes. Looks amacingly like the exact same set 2002-09-20 16:51:09 +00:00
null Everywhere else, an argument passed to a device containing flags 2002-09-21 17:28:17 +00:00
ofw Add missing semicolon 2002-09-20 23:26:07 +00:00
pccard o Dike out the bogus reprobe stuff. It was getting in the way of newbus' own 2002-09-10 06:32:18 +00:00
pccbb Some kernel threads try to do significant work, and the default KSTACK_PAGES 2002-10-02 07:44:29 +00:00
pcf
pci Removed the only PCI_DEBUG ifdef in the kernel. PCI_DEBUG was not a 2002-10-01 13:28:24 +00:00
pcic Some kernel threads try to do significant work, and the default KSTACK_PAGES 2002-10-02 07:44:29 +00:00
pdq Replace various spelling with FALLTHROUGH which is lint()able 2002-08-25 13:23:09 +00:00
ppbus Remove empty #if*/#endif clauses. 2002-09-21 08:44:51 +00:00
ppc
pst Fix so it compiles with the new disklabel stuff. 2002-09-27 21:56:35 +00:00
puc Add "missing scratch-pad register" to the first of the two ports 2002-09-27 22:02:46 +00:00
random Some kernel threads try to do significant work, and the default KSTACK_PAGES 2002-10-02 07:44:29 +00:00
ray s/__attribute__((__packed__))/__packed/g 2002-09-23 06:25:08 +00:00
rc
rp
sab Make this driver work a whole lot better. 2002-09-08 04:45:16 +00:00
sbni Use if_printf() instead of printf() to print "sbni#: blah". 2002-10-01 00:55:22 +00:00
scd Remove duplicate make_dev() calls. 2002-10-04 08:33:10 +00:00
sf add missing \n to printf 2002-09-09 17:39:48 +00:00
si
sio Be consistent about "static" functions: if the function is marked 2002-09-28 17:15:38 +00:00
sk style: 2002-08-23 23:49:02 +00:00
smbus Cleanup of amdpm(4). 2002-09-21 21:43:49 +00:00
sn Use if_printf(ifp, "blah") instead of printf("sn%d: blah", ifp->if_unit). 2002-10-01 00:56:39 +00:00
snc
snp
sound Fixed breakage from removing the used include of <sys/buf.h> in the 2002-09-15 08:21:14 +00:00
speaker
sr Use if_printf(ifp, "blah") instead of printf("sr%d: blah", ifp->if_unit). 2002-10-01 00:58:16 +00:00
stg Remove even more Copy&Pasted sets of #includes. 2002-09-20 16:53:19 +00:00
streams
sym
syscons Be consistent about "static" functions: if the function is marked 2002-09-28 17:15:38 +00:00
tdfx Disabuse this driver of the notion that it needs to include 2002-09-28 20:56:32 +00:00
tga
ti Static'ify a variable. 2002-10-03 06:44:01 +00:00
twe use __packed. 2002-09-23 18:54:32 +00:00
tx Stop trying to align malloc()ed memory. Rely on malloc() instead, just like 2002-08-19 20:36:08 +00:00
txp
ubsec Crypto device driver for Broadcom-based cards. Known to work with 582x-based 2002-10-04 20:33:20 +00:00
usb Some kernel threads try to do significant work, and the default KSTACK_PAGES 2002-10-02 07:44:29 +00:00
vinum Get Vinum up and running with GEOM: 2002-10-05 03:44:00 +00:00
vr style: put return types on a line by themselves. 2002-08-24 00:02:03 +00:00
vx Fix mis-indentation. 2002-10-02 09:09:25 +00:00
wds
wi Fix comment 2002-09-29 18:42:14 +00:00
wl
xe Use if_printf(ifp, "foo") instead of printf("xe%d: foo", ifp->it_unit). 2002-10-01 01:03:02 +00:00