NetBSD/sys/dev/pci
fvdl 5aecd7c8fc On the first read of the DEVCONFIG PCI config register, sparc64 systems
seem to return all 1s. The second read is ok, though. So, as a workaround,
read it twice. From Manuel Bouyer.
2003-04-25 16:02:52 +00:00
..
bktr Remove some. 2003-03-12 00:24:41 +00:00
Makefile
Makefile.pcidevs
README
aac_pci.c Use aprint_*(). 2003-01-31 00:07:39 +00:00
adv_pci.c Use aprint_*(). 2003-01-31 00:07:39 +00:00
adw_pci.c Use aprint_*(). 2003-01-31 00:07:39 +00:00
agp.c Don't match a PCI graphics card in a system which supports an AGP. 2003-02-24 21:56:00 +00:00
agp_ali.c Use aprint_*(). 2003-01-31 00:07:39 +00:00
agp_amd.c Use aprint_*(). 2003-01-31 00:07:39 +00:00
agp_i810.c Remove an aprint_normal() so that the output looks reasonable 2003-03-24 09:12:55 +00:00
agp_intel.c Use aprint_*(). 2003-01-31 00:07:39 +00:00
agp_sis.c Use aprint_*(). 2003-01-31 00:07:39 +00:00
agp_via.c Use aprint_*(). 2003-01-31 00:07:39 +00:00
agpreg.h Add support for i830/i845 agp. From Shingo WATANABE (on tech-x11) and 2002-12-13 11:32:50 +00:00
agpvar.h Add extensible malloc types, adapted from FreeBSD. This turns 2003-02-01 06:23:35 +00:00
ahc_pci.c On the first read of the DEVCONFIG PCI config register, sparc64 systems 2003-04-25 16:02:52 +00:00
ahd_pci.c ahd, driver for Adaptec 790x U320 controllers. Originally by Justin Gibbs 2003-04-21 00:14:52 +00:00
amdpm.c Use aprint_*(). 2003-01-31 00:07:39 +00:00
amdpmreg.h
amr.c Use aprint_*(). 2003-01-31 00:07:39 +00:00
amrreg.h
amrvar.h
auich.c Add extensible malloc types, adapted from FreeBSD. This turns 2003-02-01 06:23:35 +00:00
auichreg.h
autri.c fix from OpenBSD, contributed by Gabriel Gonzalez in PR kern/20999 2003-04-04 01:04:37 +00:00
autrireg.h Fix recording problem on SiS7018. 2002-11-07 11:44:12 +00:00
autrivar.h
auvia.c Add extensible malloc types, adapted from FreeBSD. This turns 2003-02-01 06:23:35 +00:00
auviavar.h
bha_pci.c Use aprint_*(). 2003-01-31 00:07:39 +00:00
btvmei.c Use aprint_*(). 2003-01-31 00:07:39 +00:00
btvmeii.c Use aprint_*(). 2003-01-31 00:07:39 +00:00
btvmeireg.h
btvmeivar.h
cac_pci.c Use aprint_*(). 2003-01-31 00:07:39 +00:00
cmpci.c Add extensible malloc types, adapted from FreeBSD. This turns 2003-02-01 06:23:35 +00:00
cmpcireg.h
cmpcivar.h
com_puc.c Use aprint_*(). 2003-01-31 00:07:39 +00:00
cs428x.c Add extensible malloc types, adapted from FreeBSD. This turns 2003-02-01 06:23:35 +00:00
cs428x.h Add extensible malloc types, adapted from FreeBSD. This turns 2003-02-01 06:23:35 +00:00
cs428xreg.h
cs4280.c Use aprint_*(). 2003-01-31 00:07:39 +00:00
cs4280_image.h
cs4280reg.h
cs4281.c Use aprint_*(). 2003-01-31 00:07:39 +00:00
cs4281reg.h
cy82c693.c
cy82c693reg.h
cy82c693var.h
cy_pci.c Use aprint_*(). 2003-01-31 00:07:39 +00:00
cz.c "Utilize" has exactly the same meaning as "use," but it is more 2003-02-05 00:02:24 +00:00
czreg.h
devlist2h.awk
dpt_pci.c Use aprint_*(). 2003-01-31 00:07:39 +00:00
eap.c Add extensible malloc types, adapted from FreeBSD. This turns 2003-02-01 06:23:35 +00:00
eapreg.h Silly me for assuming that the CT5880 cards could be identified by looking 2002-12-14 17:52:47 +00:00
ehci_pci.c Use aprint_*(). 2003-01-31 00:07:39 +00:00
emuxki.c Fix a memory leak in emuxki_voice_new. 2003-03-17 12:29:09 +00:00
emuxkireg.h unknown, not unkown. Noted by mjl. 2003-01-28 22:19:22 +00:00
emuxkivar.h s/intial/initial/, from jmc in .pl in PR 20414. 2003-02-18 18:47:06 +00:00
esa.c Add extensible malloc types, adapted from FreeBSD. This turns 2003-02-01 06:23:35 +00:00
esadsp.h
esareg.h
esavar.h
esiop_pci.c Need <uvm/uvm_extern.h>. 2003-04-09 01:35:12 +00:00
esm.c Fix printf format warnings. 2003-02-03 01:11:54 +00:00
esmreg.h First cut at recording support for the ESS Maestro-2 and 2e. 2002-12-30 05:23:27 +00:00
esmvar.h Add extensible malloc types, adapted from FreeBSD. This turns 2003-02-01 06:23:35 +00:00
eso.c unask -> unmask 2003-02-05 00:07:34 +00:00
esoreg.h
esovar.h
files.agp
files.pci Add ahd at pci (to be added later). 2003-04-19 19:30:07 +00:00
fms.c Add extensible malloc types, adapted from FreeBSD. This turns 2003-02-01 06:23:35 +00:00
fmsvar.h
fwlynx_pci.c Use aprint_*(). 2003-01-31 00:07:39 +00:00
fwohci_pci.c Use aprint_*(). 2003-01-31 00:07:39 +00:00
gtp.c Use aprint_*(). 2003-01-31 00:07:39 +00:00
hifn7751.c Use aprint_*(). 2003-01-31 00:07:39 +00:00
hifn7751reg.h descriptor with a c. 2003-01-06 12:14:26 +00:00
hifn7751var.h
i82365_pci.c Use aprint_*(). 2003-01-31 00:07:39 +00:00
i82365_pcivar.h
icp_pci.c Use aprint_*(). 2003-01-31 00:07:39 +00:00
if_an_pci.c Use aprint_*(). 2003-01-31 00:07:39 +00:00
if_bge.c Don't print a kernel message like "bge0: gigabit link up" when a Gigabit 2003-03-24 12:06:05 +00:00
if_bgereg.h Commit workaround for hardware bug: 5701 chips running in PCI-X mode 2003-03-07 18:57:53 +00:00
if_de.c The Double-Semi-Colon Police. 2003-01-20 05:29:53 +00:00
if_devar.h
if_en_pci.c Use aprint_*(). 2003-01-31 00:07:39 +00:00
if_ep_pci.c Use aprint_*(). 2003-01-31 00:07:39 +00:00
if_epic_pci.c Use aprint_*(). 2003-01-31 00:07:39 +00:00
if_esh_pci.c Use aprint_*(). 2003-01-31 00:07:39 +00:00
if_ex_pci.c Put back bits of pr 9286 that got lost. Thanks to Onno van der Linden for 2003-04-19 15:47:45 +00:00
if_fpa.c Use aprint_*(). 2003-01-31 00:07:39 +00:00
if_fxp_pci.c apparently this driver works fine for Intel PRO/100 VM with 82562EM/EX PHY, 2003-03-14 22:04:03 +00:00
if_gem_pci.c Use aprint_*(). 2003-01-31 00:07:39 +00:00
if_gsip.c
if_hme_pci.c Lookup and use the Ethernet address in the FCode PROM, 2002-12-26 22:59:51 +00:00
if_le_pci.c
if_levar.h
if_lmc.c Remove variable that is only assigned too but not referenced. 2003-01-20 04:25:46 +00:00
if_lmc_common.c
if_lmc_media.c hz -> Hz 2003-02-22 04:57:48 +00:00
if_lmc_nbsd.c Use PAGE_SIZE rather than NBPG. 2003-04-01 02:01:43 +00:00
if_lmc_types.h
if_lmcioctl.h
if_lmcvar.h
if_mtd_pci.c Add a driver for the Myson Technology MTD803 3-in-1 Fast Ethernet Controller, 2002-11-07 21:56:56 +00:00
if_ne_pci.c
if_ntwoc_pci.c The Double-Semi-Colon Police. 2003-01-20 05:29:53 +00:00
if_ntwoc_pcireg.h
if_pcn.c sprinkle some const qualifiers 2003-03-30 19:20:37 +00:00
if_pcnreg.h
if_rtk_pci.c Set RTK_ENABLE flag when it attached. This fixed multicast problem. 2003-01-29 12:57:36 +00:00
if_sf_pci.c Replace magic numbers for power management control with PCI_PMCSR* macros. 2002-12-23 02:58:36 +00:00
if_sip.c Add a work-around for the "short cable problem" that some DP83815 2003-03-23 00:56:15 +00:00
if_sipreg.h
if_ste.c Replace magic numbers for power management control with PCI_PMCSR* macros. 2002-12-23 02:58:36 +00:00
if_stereg.h
if_stge.c Argh. Commited the wrong file. 2003-03-01 19:49:45 +00:00
if_stgereg.h Centralize the interrupt bits for the 3 registers where they are being used. 2003-02-10 21:10:06 +00:00
if_ti.c Add missing binding of VLAN tag to received packet. 2003-02-09 21:43:43 +00:00
if_tireg.h
if_tl.c tl(4) supports ETHERCAP_VLAN_MTU. 2003-03-19 17:23:26 +00:00
if_tlp_pci.c Fix an error message. 2003-03-10 20:50:22 +00:00
if_tlregs.h
if_tlvar.h
if_vr.c Add MIIF_FORCEANEG from Martin Husemann 2003-04-10 01:58:21 +00:00
if_vrreg.h From freebsd if_vr.c:1.43,1.56 and if_vrreg.h:1.11,1.14 2003-01-03 19:01:09 +00:00
if_wi_pci.c PR/21108: Christopher SEKIYA: if_wi_pci.c rev 1.21 is incorrect for PLX-9052 2003-04-12 08:17:45 +00:00
if_wm.c Pullup short mbuf in wm_tx_cksum() instead of dropping it which fixes 2003-04-15 22:52:40 +00:00
if_wmreg.h
ifpci.c
ifpci2.c
igsfb_pci.c
iha_pci.c Sync with copyright verbiage update of OpenBSD's iha(4). 2002-11-14 17:07:42 +00:00
iop_pci.c typo 2002-11-15 17:51:33 +00:00
isic_pci.c
isic_pci.h
isic_pci_elsa_qs1p.c
isp_pci.c Add ULL to 64-bit integer constants. 2002-11-25 02:16:50 +00:00
iwic_bchan.c
iwic_dchan.c
iwic_fsm.c
iwic_pci.c
iwicreg.h
iwicvar.h
joy_eso.c
joy_pci.c
ld_amr.c
ld_twe.c
lpt_puc.c
machfb.c Grrr, add another set of casts working around sc_aperbase having the wrong 2003-01-20 11:02:47 +00:00
machfbreg.h
mlx_pci.c
mly.c Use PAGE_SIZE rather than NBPG. 2003-04-01 02:01:43 +00:00
mly_tables.h revert for now -- cancelled seems to be used more often than canceled 2003-03-31 03:35:02 +00:00
mlyio.h
mlyreg.h
mlyvar.h
mpt_pci.c Device driver for the LSI Logic Fusion-MPT based SCSI and Fibre Channel 2003-04-16 22:02:59 +00:00
mpu_cmpci.c
mpu_eso.c
mpu_fms.c
mpu_yds.c
neo-coeff.h change array to unsigned char. fixes 23430 lint warnings. "really!" 2002-11-02 16:26:03 +00:00
neo.c hz -> Hz 2003-02-22 04:57:48 +00:00
neoreg.h
oboe.c si_ -> sel_ 2002-11-26 18:49:40 +00:00
oboereg.h
ohci_pci.c
opl_cmpci.c
opl_eso.c
opl_fms.c
opl_sv.c
opl_yds.c
pccbb.c PCI-CardBus bridge support for sparc64: 2003-03-22 06:25:14 +00:00
pccbbreg.h
pccbbvar.h PCI-CardBus bridge support for sparc64: 2003-03-22 06:25:14 +00:00
pci.c Add PCI VPD access routines. From psi.cz!freza, PR kern/20889. 2003-03-25 21:56:20 +00:00
pci_map.c
pci_quirks.c
pci_subr.c Quell an uninitialised variable warning. 2002-11-24 11:52:13 +00:00
pci_usrreq.c
pciconf.c Add an option to disable fast back-to-back transfers since this 2003-03-31 21:04:40 +00:00
pciconf.h
pcidevs Add a few Opteron and AMD8000 chipset device IDs. 2003-04-24 23:36:09 +00:00
pcidevs.h Regen. 2003-04-24 23:37:00 +00:00
pcidevs_data.h Regen. 2003-04-24 23:37:00 +00:00
pciide.c PR/21236: Simon Hitzemann: Fix missing space in error format. While I am 2003-04-19 23:37:26 +00:00
pciide_acard_reg.h
pciide_acer_reg.h
pciide_amd_reg.h * Enable Ultra133 on the NVIDIA nForce 2. 2003-01-24 05:51:04 +00:00
pciide_apollo_reg.h
pciide_cmd_reg.h
pciide_cy693_reg.h
pciide_hpt_reg.h
pciide_i31244_reg.h Add register definitions for the Intel i31244 Serial ATA controller. 2003-03-18 01:41:54 +00:00
pciide_opti_reg.h
pciide_pdc202xx_reg.h
pciide_piix_reg.h
pciide_sii3112_reg.h Add support for the Silicon Image SATALink 3112 Serial ATA controller. 2003-03-20 04:22:49 +00:00
pciide_sis_reg.h Rework SiS support: more controller supported (up to Ultra/133) and better 2003-03-14 22:46:05 +00:00
pciide_sl82c105_reg.h
pciidereg.h
pciidevar.h Add support for the Silicon Image SATALink 3112 Serial ATA controller. 2003-03-20 04:22:49 +00:00
pciio.h
pcireg.h Add register definitions for the PCI-X capability. 2003-04-20 22:53:56 +00:00
pcivar.h Add PCI VPD access routines. From psi.cz!freza, PR kern/20889. 2003-03-25 21:56:20 +00:00
pcscp.c sparc/tab cosmetics. 2002-12-28 07:11:24 +00:00
pcscpreg.h
plx9060reg.h
plx9060var.h
ppb.c Use aprint_normal() in cfprint routines. 2003-01-01 00:10:15 +00:00
ppbreg.h
puc.c It is not appropriate for pcivar.h to include "locators.h" 2003-03-19 17:56:58 +00:00
puccn.c Make this compile again. 2003-03-29 20:15:31 +00:00
puccn.h
pucdata.c
pucvar.h
siop_pci.c Use PAGE_SIZE rather than NBPG. 2003-04-09 00:28:28 +00:00
siop_pci_common.c Use PAGE_SIZE rather than NBPG. 2003-04-09 00:28:28 +00:00
siop_pci_common.h
sv.c {HZ,hz,hZ} -> Hz 2003-02-22 04:58:43 +00:00
svreg.h
svvar.h
tga.c
tga_conf.c
tgareg.h
tgavar.h
trm.c
trmreg.h
twe.c Use aprint_normal() in cfprint routines. 2003-01-01 00:10:15 +00:00
tweio.h Add /dev/twex support. To be used with FreeBSD's 3dmd. 2002-12-13 23:31:32 +00:00
twereg.h
twevar.h Add /dev/twex support. To be used with FreeBSD's 3dmd. 2002-12-13 23:31:32 +00:00
uhci_pci.c
universe_pci.c Use aprint_*(). 2003-01-31 00:07:39 +00:00
universe_pci_var.h
usb_pci.c
usb_pci.h
vga_pci.c Regen. 2003-02-26 11:51:05 +00:00
vga_pcivar.h
viaenv.c
viapm.c Use aprint_normal() in cfprint routines. 2003-01-01 00:10:15 +00:00
viapmvar.h
weasel_pci.c
weaselreg.h
yds.c Disable ISA DMA emulation for SoundBlaster module explicitly. 2003-03-12 13:36:22 +00:00
ydsreg.h Disable ISA DMA emulation for SoundBlaster module explicitly. 2003-03-12 13:36:22 +00:00
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