NetBSD/sys/dev/pci
kent 15afb616fc add "hw.auichN.ac97rate" sysctl MIB to specify AC'97 link rate.
It is needed because automatic calibration by auich_calibrate() is not
so precise.

- Why not ioctl?
  It is not good idea to add a new ioctl operation to MI audio for
a specific audio device.
- Why not mixerctl item?
  AC'97 linke rate is not related to audio mixing.
2004-10-27 13:26:43 +00:00
..
bktr match LeadTek's original PCI vendor ID as well as the 3-alternates 2004-07-24 12:52:45 +00:00
Makefile
Makefile.pcidevs netbsd.org -> NetBSD.org 2003-12-04 13:57:30 +00:00
README
aac_pci.c Add support for Adaptec AAR 2810SA raid controller. 2004-05-10 06:21:09 +00:00
acardide.c atastart() (called only at splbio(), and from interrupts) can change 2004-08-21 00:28:34 +00:00
aceride.c atastart() (called only at splbio(), and from interrupts) can change 2004-08-21 00:28:34 +00:00
adv_pci.c
adw_pci.c
agp.c Phase out the use of a string as first "attach args" member to control 2004-08-30 15:05:15 +00:00
agp_ali.c Apply patch from "pandre" at netbsd.ports.i386, stops panic during attachment. 2004-06-02 18:36:06 +00:00
agp_amd.c Add another case to match "PCI_PRODUCT_AMD_SC761_SC" (AMD761 System 2004-10-20 21:47:13 +00:00
agp_i810.c eliminate redundant aperture size printouts 2004-03-20 14:00:40 +00:00
agp_intel.c
agp_sis.c
agp_via.c
agpbusprint.c add centralized {eisa,isa,pci,agp,mca}busprint() functions which do 2004-08-30 10:30:38 +00:00
agpreg.h Use the right bits for the AGP version. 2004-02-04 06:58:24 +00:00
agpvar.h Phase out the use of a string as first "attach args" member to control 2004-08-30 15:05:15 +00:00
ahc_pci.c Bring back ALLOW_MEMIO change that was lost between 1.38 and 1.39. This 2004-10-17 01:10:44 +00:00
ahd_pci.c parameter with two es. From Peter Postma. 2004-02-24 15:22:01 +00:00
amdpm.c
amdpmreg.h
amr.c Added support for DELL PERC 4e/Si RAID controller 2004-10-20 10:48:47 +00:00
amrreg.h
amrvar.h a round of autoconf cleanup: 2004-09-13 12:55:47 +00:00
artsata.c Move most of wdc_softc into a new atac_softc structure that contains 2004-08-20 06:39:37 +00:00
atppc_puc.c checkpoint DMA support; still disabled, not tested yet 2004-02-10 18:19:47 +00:00
auacer.c Add a driver for the Acer Labs M5455 audio controller. 2004-10-10 16:37:07 +00:00
auacerreg.h Add a driver for the Acer Labs M5455 audio controller. 2004-10-10 16:37:07 +00:00
auich.c add "hw.auichN.ac97rate" sysctl MIB to specify AC'97 link rate. 2004-10-27 13:26:43 +00:00
auichreg.h For ICH4/ICH5, use native BARs instead of compatible BARs. 2003-11-22 08:49:41 +00:00
autri.c ac97_host_if::reset() returns non-zero value if codec reset fails, and 2004-09-22 12:20:24 +00:00
autrireg.h
autrivar.h
auvia.c add support for suspending/resuming. 2004-10-17 08:46:39 +00:00
auviavar.h add support for suspending/resuming. 2004-10-17 08:46:39 +00:00
bha_pci.c
btvmei.c
btvmeii.c
btvmeireg.h Spell interrupt with two rs. From Peter Postma. 2004-02-24 15:16:04 +00:00
btvmeivar.h remove license clauses 3 and 4 from my cpoyright notices 2004-03-24 17:26:53 +00:00
cac_pci.c
cmdide.c atastart() (called only at splbio(), and from interrupts) can change 2004-08-21 00:28:34 +00:00
cmpci.c Fix typo in a comment: alalog -> analog. 2004-10-26 06:32:20 +00:00
cmpcireg.h netbsd.org -> NetBSD.org 2003-12-04 13:57:30 +00:00
cmpcivar.h netbsd.org -> NetBSD.org 2003-12-04 13:57:30 +00:00
com_puc.c Fix a warning about possibly uninitialized variable. 2004-02-03 20:35:17 +00:00
cs428x.c There's no need to halt the input and output pipes in the close routine -- 2004-07-09 01:02:32 +00:00
cs428x.h
cs428xreg.h
cs4280.c ac97_host_if::reset() returns non-zero value if codec reset fails, and 2004-09-22 12:20:24 +00:00
cs4280_image.h
cs4280reg.h
cs4281.c ac97_host_if::reset() returns non-zero value if codec reset fails, and 2004-09-22 12:20:24 +00:00
cs4281reg.h
cy82c693.c
cy82c693reg.h
cy82c693var.h
cy_pci.c
cyber.c The variables to hold the registers don't need to be declared volatile. 2004-02-04 01:58:44 +00:00
cyberreg.h Enable the 8X clock on the SIIG Cyberserial serial and combination PCI 2004-02-03 19:51:39 +00:00
cybervar.h Enable the 8X clock on the SIIG Cyberserial serial and combination PCI 2004-02-03 19:51:39 +00:00
cypide.c Move most of wdc_softc into a new atac_softc structure that contains 2004-08-20 06:39:37 +00:00
cz.c
czreg.h
devlist2h.awk For the PCIVERBOSE case, separate vendors and products into separate tables. 2004-08-02 18:43:38 +00:00
dpt_pci.c netbsd.org -> NetBSD.org 2003-12-04 13:57:30 +00:00
eap.c ac97_host_if::reset() returns non-zero value if codec reset fails, and 2004-09-22 12:20:24 +00:00
eapreg.h support the game port on eap1371 2004-07-08 19:39:00 +00:00
eapvar.h support the game port on eap1371 2004-07-08 19:39:00 +00:00
ehci_pci.c For the PCIVERBOSE case, separate vendors and products into separate tables. 2004-08-02 18:43:38 +00:00
emuxki.c Corrected a scattering of typos in comments 2004-10-07 10:42:26 +00:00
emuxkireg.h PR/25731: Adam K kirchhoff: Audigy support with the emuxki driver. 2004-05-27 20:20:52 +00:00
emuxkivar.h PR/25731: Adam K kirchhoff: Audigy support with the emuxki driver. 2004-05-27 20:20:52 +00:00
esa.c ac97_host_if::reset() returns non-zero value if codec reset fails, and 2004-09-22 12:20:24 +00:00
esadsp.h
esareg.h
esavar.h
esiop_pci.c
esm.c ac97_host_if::reset() returns non-zero value if codec reset fails, and 2004-09-22 12:20:24 +00:00
esmreg.h netbsd.org -> NetBSD.org 2003-12-04 13:57:30 +00:00
esmvar.h ac97_host_if::reset() returns non-zero value if codec reset fails, and 2004-09-22 12:20:24 +00:00
eso.c There's no need to halt the input and output pipes in the close routine -- 2004-07-09 01:02:32 +00:00
esoreg.h Fix a shift-by-one-bit glitch in the MONO_OUT mixer register's definition; 2004-05-25 20:59:37 +00:00
esovar.h General mixer initialization improvements around the MONO_IN/MONO_OUT/ 2004-05-25 21:38:11 +00:00
files.agp add centralized {eisa,isa,pci,agp,mca}busprint() functions which do 2004-08-30 10:30:38 +00:00
files.ath
files.pci Make artsata depend on sata. 2004-10-22 20:05:01 +00:00
fms.c ac97_host_if::reset() returns non-zero value if codec reset fails, and 2004-09-22 12:20:24 +00:00
fmsvar.h
fwlynx_pci.c pass string length (= boundary info) to pci_devinfo so that we do not run over 2004-04-23 21:13:05 +00:00
fwohci_pci.c pass string length (= boundary info) to pci_devinfo so that we do not run over 2004-04-23 21:13:05 +00:00
geodeide.c atastart() (called only at splbio(), and from interrupts) can change 2004-08-21 00:28:34 +00:00
gtp.c pass string length (= boundary info) to pci_devinfo so that we do not run over 2004-04-23 21:13:05 +00:00
hifn7751.c Identify AES-capable chips (7955, 7956) in the driver attach message. 2004-04-29 01:46:06 +00:00
hifn7751reg.h Spell length with h after t. Inspired by a commit by brad@openbsd. 2004-02-13 18:02:05 +00:00
hifn7751var.h Support symmetric crypto ops, including AES, on hifn 7955 and 7956. 2003-11-16 00:22:09 +00:00
hptide.c atastart() (called only at splbio(), and from interrupts) can change 2004-08-21 00:28:34 +00:00
i82365_pci.c Rather than having a call up from the low-level driver to get the card type, 2004-08-11 00:18:18 +00:00
i82365_pcivar.h
iavc_pci.c
icp_pci.c
if_an_pci.c Use ANSI function decls and make use of static. 2004-08-21 23:48:33 +00:00
if_ath_pci.c This should be done in the HAL, but until then... 2004-06-30 05:58:17 +00:00
if_atw_pci.c Use ANSI function decls and make use of static. 2004-08-21 23:48:33 +00:00
if_bce.c Use ANSI function decls and make use of static. 2004-08-21 23:48:33 +00:00
if_bcereg.h
if_bge.c - mbuf external storage is of (caddr_t), not (caddr_t *). 2004-09-29 11:22:03 +00:00
if_bgereg.h Add PAUSE-related event counters. Slightly modified from patch supplied by 2004-05-15 22:19:27 +00:00
if_de.c pass string length (= boundary info) to pci_devinfo so that we do not run over 2004-04-23 21:13:05 +00:00
if_devar.h
if_dge.c introduce M_EXT_RW to allow mbuf external storage R/W. 2004-09-21 21:57:30 +00:00
if_dgereg.h Add driver for Intel PRO/10GbE ethernet adapter. Now NetBSD has no 2004-03-12 13:46:52 +00:00
if_en_pci.c
if_ep_pci.c Use ANSI function decls and make use of static. 2004-08-21 23:48:33 +00:00
if_epic_pci.c Use ANSI function decls and make use of static. 2004-08-21 23:48:33 +00:00
if_esh_pci.c Use ANSI function decls and make use of static. 2004-08-21 23:48:33 +00:00
if_ex_pci.c Use ANSI function decls and make use of static. 2004-08-21 23:48:33 +00:00
if_fpa.c
if_fxp_pci.c Use ANSI function decls and make use of static. 2004-08-21 23:48:33 +00:00
if_gem_pci.c Adjust/add a few comments and add defines for PCS (aka GEM_MII) FSM and 2004-10-17 21:49:08 +00:00
if_gsip.c
if_hme_pci.c Fix hme for pci based sparcs (krups). 2004-03-17 08:58:23 +00:00
if_ipw.c Whitespace tweaks. 2004-09-14 00:38:37 +00:00
if_ipwreg.h Whitespace tweaks from Damien Bergamini. 2004-09-14 00:27:26 +00:00
if_ipwvar.h Add IEEE802.11 radiotap support. From Damien Bergamini. 2004-09-14 00:31:20 +00:00
if_le_pci.c Use ANSI function decls and make use of static. 2004-08-21 23:48:33 +00:00
if_levar.h
if_lmc.c
if_lmc_common.c
if_lmc_media.c
if_lmc_nbsd.c
if_lmc_types.h
if_lmcioctl.h
if_lmcvar.h
if_mtd_pci.c Use ANSI function decls and make use of static. 2004-08-21 23:48:33 +00:00
if_ne_pci.c Use ANSI function decls and make use of static. 2004-08-21 23:48:33 +00:00
if_ntwoc_pci.c boundary, not boundry. Inspired by Tom Cosgrove. 2003-11-02 10:31:06 +00:00
if_ntwoc_pcireg.h
if_pcn.c Use ANSI function decls and make use of static. 2004-08-21 22:48:18 +00:00
if_pcnreg.h
if_re.c Use ANSI function decls and make use of static. 2004-08-21 23:48:33 +00:00
if_rtk_pci.c Use ANSI function decls and make use of static. 2004-08-21 23:48:33 +00:00
if_rtw_pci.c Add Cardbus, PCI bus front-ends for RTL8180 802.11b MAC/baseband. 2004-09-26 02:33:36 +00:00
if_sf_pci.c Use ANSI function decls and make use of static. 2004-08-21 23:48:33 +00:00
if_sip.c Use ANSI function decls and make use of static. 2004-08-21 22:48:18 +00:00
if_sipreg.h Improvements to DP83820 support, from HITOSHI Osada: 2004-04-11 16:57:44 +00:00
if_sk.c Fix Yukon ram sizing. 2004-09-26 14:23:58 +00:00
if_skreg.h Fix Yukon ram sizing. 2004-09-26 14:23:58 +00:00
if_skvar.h Fix Yukon ram sizing. 2004-09-26 14:23:58 +00:00
if_ste.c Use ANSI function decls and make use of static. 2004-08-21 22:48:18 +00:00
if_stereg.h
if_stge.c Fix typo reported by Alexander Yurchenko in private mail. 2004-10-02 21:20:12 +00:00
if_stgereg.h
if_ti.c - mbuf external storage is of (caddr_t), not (caddr_t *). 2004-09-29 11:22:03 +00:00
if_tireg.h Make the SSLOTS, MSLOTS and JSLOTS tunable (redefineable). 2004-07-27 07:59:51 +00:00
if_tl.c Apply patch from kern/25936 by Michael Blake: Add support for the 2004-06-15 19:47:23 +00:00
if_tlp_pci.c Use ANSI function decls and make use of static. 2004-08-21 23:48:33 +00:00
if_tlregs.h
if_tlvar.h Spell address with two d's. Inspired by similar changes in OpenBSD, 2003-11-10 08:51:51 +00:00
if_txp.c disestablish the interupt if we fail to (among other things) download 2004-07-01 08:34:24 +00:00
if_txpreg.h
if_vr.c Use ANSI function decls and make use of static. 2004-08-21 22:48:18 +00:00
if_vrreg.h
if_wi_pci.c Use ANSI function decls and make use of static. 2004-08-21 22:48:18 +00:00
if_wm.c Define a WM_MAXTXDMA constant to represent the largest Tx DMA any given 2004-10-06 05:29:51 +00:00
if_wmreg.h Largest Tx descriptor buffer size is actually 4K. 2004-10-05 21:29:56 +00:00
ifpci.c
ifpci2.c Give a magic value a name - inspired by a post on the FreeBSD isdn mailing 2004-07-06 08:53:16 +00:00
igsfb_pci.c pass string length (= boundary info) to pci_devinfo so that we do not run over 2004-04-23 21:13:05 +00:00
igsfb_pcivar.h
iha_pci.c Use ANSI function decls. 2004-09-25 11:58:19 +00:00
iop_pci.c Match Promise controllers. 2003-12-09 19:43:53 +00:00
isic_pci.c if the register space os the ISDN card can't be mapped, abort device 2004-07-22 19:14:39 +00:00
isic_pci.h if the register space os the ISDN card can't be mapped, abort device 2004-07-22 19:14:39 +00:00
isic_pci_elsa_qs1p.c if the register space os the ISDN card can't be mapped, abort device 2004-07-22 19:14:39 +00:00
isp_pci.c Fixes for that only support for the 2030 can be compiled in. 2004-03-10 22:42:47 +00:00
iwic_bchan.c
iwic_dchan.c
iwic_fsm.c
iwic_pci.c
iwicreg.h
iwicvar.h
joy_eap.c use joydetach() now that we have it 2004-08-03 18:38:52 +00:00
joy_eso.c netbsd.org -> NetBSD.org 2003-12-04 13:57:30 +00:00
joy_pci.c pass string length (= boundary info) to pci_devinfo so that we do not run over 2004-04-23 21:13:05 +00:00
ld_amr.c
ld_twe.c Add a "flush" operation so the array's write cache is flushed on 2004-05-27 23:48:34 +00:00
lpt_puc.c
machfb.c pass string length (= boundary info) to pci_devinfo so that we do not run over 2004-04-23 21:13:05 +00:00
machfbreg.h
mlx_pci.c
mly.c
mly_tables.h
mlyio.h
mlyreg.h
mlyvar.h
mpt_pci.c Add support for PCI-X version of LSI FC929; from Bert Kiers in PR kern/26836. 2004-09-18 08:52:50 +00:00
mpu_cmpci.c netbsd.org -> NetBSD.org 2003-12-04 13:57:30 +00:00
mpu_eso.c netbsd.org -> NetBSD.org 2003-12-04 13:57:30 +00:00
mpu_fms.c netbsd.org -> NetBSD.org 2003-12-04 13:57:30 +00:00
mpu_yds.c netbsd.org -> NetBSD.org 2003-12-04 13:57:30 +00:00
neo-coeff.h
neo.c ac97_host_if::reset() returns non-zero value if codec reset fails, and 2004-09-22 12:20:24 +00:00
neoreg.h
njs_pci.c Use ANSI function decls, more static. 2004-08-26 18:38:19 +00:00
oboe.c
oboereg.h
ohci_pci.c For the PCIVERBOSE case, separate vendors and products into separate tables. 2004-08-02 18:43:38 +00:00
opl_cmpci.c netbsd.org -> NetBSD.org 2003-12-04 13:57:30 +00:00
opl_eso.c netbsd.org -> NetBSD.org 2003-12-04 13:57:30 +00:00
opl_fms.c netbsd.org -> NetBSD.org 2003-12-04 13:57:30 +00:00
opl_sv.c netbsd.org -> NetBSD.org 2003-12-04 13:57:30 +00:00
opl_yds.c netbsd.org -> NetBSD.org 2003-12-04 13:57:30 +00:00
optiide.c atastart() (called only at splbio(), and from interrupts) can change 2004-08-21 00:28:34 +00:00
pccbb.c fix a wrong variable name in a debug message. 2004-08-16 16:43:29 +00:00
pccbbreg.h Power up the card without OE enabled to avoid letting SanDisks enter 2003-12-10 02:55:48 +00:00
pccbbvar.h If the bus number has not been initialized, do not attach a cardslot, and 2004-07-22 16:39:51 +00:00
pci.c remove macros which just hide cfdata internals 2004-09-13 12:22:52 +00:00
pci_map.c
pci_quirks.c Remove SKIP_FUNCn quirks for SC1100 companion chip; the fix to SMM in 2004-07-10 21:30:58 +00:00
pci_subr.c For the PCIVERBOSE case, separate vendors and products into separate tables. 2004-08-02 18:43:38 +00:00
pci_usrreq.c
pcibusprint.c add centralized {eisa,isa,pci,agp,mca}busprint() functions which do 2004-08-30 10:30:38 +00:00
pciconf.c Use PRIu64 and PRIx64 in place of %llu and %llx format strings for 2004-03-17 20:27:57 +00:00
pciconf.h
pcidevs Add a vendor and some products. 2004-10-26 11:30:52 +00:00
pcidevs.h Regen. 2004-10-26 11:31:17 +00:00
pcidevs_data.h Regen. 2004-10-26 11:31:17 +00:00
pciide.c Whitespace nit. 2004-09-17 23:04:02 +00:00
pciide_acard_reg.h
pciide_acer_reg.h
pciide_apollo_reg.h
pciide_cmd_reg.h
pciide_common.c atastart() (called only at splbio(), and from interrupts) can change 2004-08-21 00:28:34 +00:00
pciide_cy693_reg.h
pciide_geode_reg.h Add support for the controller found on the AMD (previously 2004-07-27 00:19:27 +00:00
pciide_hpt_reg.h Add the HPT370 DPLL output frequency register. 2004-03-10 21:55:21 +00:00
pciide_i31244_reg.h
pciide_opti_reg.h - Add and use a CHAN_TO_WDC() macro to get the wdc_softc from an 2004-08-19 23:25:35 +00:00
pciide_pdc202xx_reg.h
pciide_piix_reg.h
pciide_sii3112_reg.h Add support for the Silicon Image 3114 SATALink 4-port SATA controller. 2003-12-20 03:51:27 +00:00
pciide_sis_reg.h
pciide_sl82c105_reg.h
pciidereg.h There are some cards that map the ATA control and IDE DMA registers 2003-11-27 23:02:40 +00:00
pciidevar.h Move most of wdc_softc into a new atac_softc structure that contains 2004-08-20 06:39:37 +00:00
pciio.h
pcireg.h bridge memory and lower prefetch memory ranges are only 12 bits wide 2004-08-02 14:50:36 +00:00
pcivar.h remove macros which just hide cfdata internals 2004-09-13 12:22:52 +00:00
pcscp.c Use ANSI function decls. 2004-09-25 11:58:19 +00:00
pcscpreg.h
pdcide.c Revert 1.12, it cause problems on promise controllers, as reported in 2004-08-23 21:30:35 +00:00
piixide.c Add support for the 82801FB/FR (ICH6/6R) SATA controllers. 2004-10-22 15:09:22 +00:00
plx9060reg.h
plx9060var.h
ppb.c Phase out the use of a string as first "attach args" member to control 2004-08-30 15:05:15 +00:00
ppbreg.h
puc.c a round of autoconf cleanup: 2004-09-13 12:55:47 +00:00
puccn.c
puccn.h
pucdata.c Add the dual-serial VScom PCI-200 adapter. Tested by Jukka Salmi. 2004-10-16 18:05:19 +00:00
pucvar.h Enable the 8X clock on the SIIG Cyberserial serial and combination PCI 2004-02-03 19:51:39 +00:00
rccide.c atastart() (called only at splbio(), and from interrupts) can change 2004-08-21 00:28:34 +00:00
satalink.c Fill out correct cap variable so that DMA works again. 2004-09-05 05:07:41 +00:00
siop_pci.c
siop_pci_common.c The 1010-66 always generate AIP values on the bus, regardless of the SCNTL4 2004-03-10 22:02:53 +00:00
siop_pci_common.h
siside.c atastart() (called only at splbio(), and from interrupts) can change 2004-08-21 00:28:34 +00:00
slide.c atastart() (called only at splbio(), and from interrupts) can change 2004-08-21 00:28:34 +00:00
stpcide.c Redo the previous adjustment work. 2004-08-21 21:46:54 +00:00
sv.c Clean up. Attempt to make these safer against stray interrupts. 2004-07-09 02:42:45 +00:00
svreg.h
svvar.h
tga.c Remove redundant tga_getconf() and tga_identify() prototypes. 2004-06-29 21:32:42 +00:00
tga_conf.c
tgareg.h
tgavar.h
trm.c Use ANSI function decls. 2004-09-25 11:58:19 +00:00
trmreg.h
twe.c Take the modulus of the AEN queue tail number rather than the mask of. Now 2004-09-23 01:16:34 +00:00
tweio.h
twereg.h Add TWE_PARAM_PROC_PERCENT; completion percentage per-sub-unit (2 bytes/ea) for 2004-10-05 23:49:15 +00:00
twevar.h a round of autoconf cleanup: 2004-09-13 12:55:47 +00:00
ubsec.c
ubsecreg.h
ubsecvar.h
uhci_pci.c For the PCIVERBOSE case, separate vendors and products into separate tables. 2004-08-02 18:43:38 +00:00
universe_pci.c
universe_pci_var.h
usb_pci.c
usb_pci.h
vga_pci.c Fix typo in comment; from Sergey Svishchev. 2004-05-11 22:45:09 +00:00
vga_pcivar.h
viaenv.c
viaide.c atastart() (called only at splbio(), and from interrupts) can change 2004-08-21 00:28:34 +00:00
viapm.c fix botch in config_found conversion, found by Stefan Krueger 2004-09-14 18:57:35 +00:00
viapmvar.h
weasel_pci.c
weaselreg.h
yds.c ac97_host_if::reset() returns non-zero value if codec reset fails, and 2004-09-22 12:20:24 +00:00
ydsreg.h
ydsvar.h

README

$NetBSD: README,v 1.3 1998/08/15 03:02:46 mycroft Exp $

This directory contains files which are used during PCI configuration
and PCI device drivers.  Eventually, most of the device drivers and
some of the configuration support should become machine-independent
and be moved to a more general location.

The configuration support was implemented according to the `PCI Local
Bus Specification, Production Version, Revision 2.0' dated April 30,
1993.  Section numbers referred to in the code may be specific to that
edition of the specification.

Some attempt has been made to insure that the code works on rogue
machines where the BIOS doesn't do its job, but in general I can't
guarantee that.

--
- Charles M. Hannum
  NetBSD group
  August 8, 1994