NetBSD/sys/dev/pci
bouyer 5741c101e5 Clear interrupts at end of attach, in case there is one pending.
Avoid "bogus intr" messages when interrupts are enabled later.
Patch tested by myself and Chuck Silvers.
2003-11-15 16:40:46 +00:00
..
bktr Remove some assigned-to but otherwise unused variables. 2003-10-30 01:58:17 +00:00
Makefile Install twereg.h and tweio.h 2003-09-25 18:05:53 +00:00
Makefile.pcidevs
README
aac_pci.c Use aprint_*(). 2003-01-31 00:07:39 +00:00
acardide.c Add support for Acard ATP865/A Ultra100 IDE Controllers. From Tsubai Masanari. 2003-10-24 15:50:02 +00:00
aceride.c Remove IDE_PCI_CLASS_OVERRIDE -- it wasn't actually used anywhere. In lieu of 2003-10-24 00:24:15 +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 Add support for i865G integrated graphics support to agp(4). Patches 2003-08-26 17:33:22 +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 Compile in the i845/i865 fallback attachment code only if generic AGP Intel 2003-09-07 15:40:57 +00:00
agp_intel.c Rework support for i845, i865 and i875P. agp(4) now doesn't "kill" the 2003-08-26 18:43:54 +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 i855 agp. From FreeBSD. 2003-07-20 18:56:32 +00:00
agpvar.h function prototype must not have variable name 2003-07-08 10:06:28 +00:00
ahc_pci.c make ahc(4) to recognize Adaptec 2915LP Ultra160 SCSI adapter. 2003-08-18 09:16:22 +00:00
ahd_pci.c Add a missing chip reset in attach. Makes things work for an on-board 2003-10-10 15:20:30 +00:00
amdpm.c Revert previous change, which was wrong. As Enami points out, we really do 2003-09-01 06:30:24 +00:00
amdpmreg.h
amr.c Apparently, Dell PERC 4/Di controllers can have two memory BARs, with the 2003-11-05 16:03:27 +00:00
amrreg.h - Fix the mailbox protocol. Not tested with newer 'Quartz' controllers. 2003-05-04 16:15:35 +00:00
amrvar.h Fix thinko. 2003-05-14 11:22:55 +00:00
auich.c Force the codec into a known state before trying to determine its speed. 2003-11-06 07:13:33 +00:00
auichreg.h For ICH4/ICH5, set IOSE flag to make them compatible to old ICHs. 2003-10-30 19:33:51 +00:00
autri.c Bogus initializers suck. 2003-10-29 03:46:10 +00:00
autrireg.h
autrivar.h
auvia.c Remove some assigned-to but otherwise unused variables. 2003-10-30 01:58:17 +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
cmdide.c Spell address with two d's. Inspired by similar changes in OpenBSD, 2003-11-10 08:51:51 +00:00
cmpci.c Fix uninitialized variable warnings. 2003-10-25 21:31:43 +00:00
cmpcireg.h
cmpcivar.h
com_puc.c Use aprint_*(). 2003-01-31 00:07:39 +00:00
cs428x.c DMA, not dma nor Dma. 2003-05-03 18:10:37 +00:00
cs428x.h DMA, not dma nor Dma. 2003-05-03 18:10:37 +00:00
cs428xreg.h
cs4280.c DMA, not dma nor Dma. 2003-05-03 18:10:37 +00:00
cs4280_image.h
cs4280reg.h
cs4281.c DMA, not dma nor Dma. 2003-05-03 18:10:37 +00:00
cs4281reg.h
cy82c693.c
cy82c693reg.h
cy82c693var.h
cy_pci.c Use aprint_*(). 2003-01-31 00:07:39 +00:00
cypide.c Remove IDE_PCI_CLASS_OVERRIDE -- it wasn't actually used anywhere. In lieu of 2003-10-24 00:24:15 +00:00
cz.c uninitialized variables 2003-10-27 07:07:34 +00:00
czreg.h
devlist2h.awk
dpt_pci.c Use aprint_*(). 2003-01-31 00:07:39 +00:00
eap.c DMA, not dma nor Dma. 2003-05-03 18:10:37 +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 Spell address with two d's. Inspired by similar changes in OpenBSD, 2003-11-10 08:51:51 +00:00
emuxkireg.h unknown, not unkown. Noted by mjl. 2003-01-28 22:19:22 +00:00
emuxkivar.h DMA, not dma nor Dma. 2003-05-03 18:10:37 +00:00
esa.c Fix uninitialized variable warnings 2003-10-25 18:29:12 +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.ath Files belonging to the ath(4) PCI front-end. 2003-10-13 05:10:00 +00:00
files.pci Re-add ServerWorks IDE support, as "rccide". Note: this is untested, as I no 2003-11-04 16:57:57 +00:00
fms.c DMA, not dma nor Dma. 2003-05-03 18:10:37 +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 add missing __KERNEL_RCSID() 2003-07-14 15:47:00 +00:00
hifn7751.c Remove an unnececssary PCI config read. 2003-08-28 18:13:33 +00:00
hifn7751reg.h Discard previous driver; it didnt really do anything. 2003-07-30 18:49:27 +00:00
hifn7751var.h Discard previous driver; it didnt really do anything. 2003-07-30 18:49:27 +00:00
hptide.c Rework slightly to remove bogus initializer. 2003-10-29 01:54:24 +00:00
i82365_pci.c Use aprint_*(). 2003-01-31 00:07:39 +00:00
i82365_pcivar.h
iavc_pci.c Ready the kernel side of i4b for primary rate interface support by 2003-10-03 16:38:44 +00:00
icp_pci.c Only need to report the PCI product ID in the management ioctls. 2003-06-29 01:20:50 +00:00
if_an_pci.c Switch an(4) to using the header files in the new 802.11 layer. 2003-10-13 06:45:32 +00:00
if_ath_pci.c $NetBSD$ 2003-10-15 23:24:36 +00:00
if_atw_pci.c Adapt atw(4) to the new 802.11 layer. 2003-10-13 08:22:19 +00:00
if_bce.c - convert to new aprint*() autoconfig print mechanism 2003-09-29 01:53:02 +00:00
if_bcereg.h - convert to new aprint*() autoconfig print mechanism 2003-09-29 01:53:02 +00:00
if_bge.c From FreeBSD: 2003-11-11 22:28:58 +00:00
if_bgereg.h boundary, not boundry. Inspired by Tom Cosgrove. 2003-11-02 10:31:06 +00:00
if_de.c DMA, not dma nor Dma. 2003-05-03 18:10:37 +00:00
if_devar.h
if_en_pci.c Remove some assigned-to but otherwise unused variables. 2003-10-30 01:58:17 +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 Some models of the 556B don't turn on the transmitter without magic 2003-06-05 22:11:21 +00:00
if_fpa.c Use aprint_*(). 2003-01-31 00:07:39 +00:00
if_fxp_pci.c fix description of Intel PRO/100 VM Network Controller with 82562ET/EZ PHY 2003-09-13 12:13:29 +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 Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
if_levar.h
if_lmc.c DMA, not dma nor Dma. 2003-05-03 18:10:37 +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 function prototype must not have variable name 2003-07-08 10:06:28 +00:00
if_lmcvar.h
if_mtd_pci.c Fix obvious typos in a call to pci_mapreg_map(). 2003-10-15 06:32:35 +00:00
if_ne_pci.c
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 Fix uninitialized variable warnings 2003-10-25 18:29:12 +00:00
if_pcnreg.h
if_rtk_pci.c Add definitions for 8139C+ and 8169 chips. Not used yet. From FreeBSD. 2003-10-25 23:48:45 +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 Fix the real cause of the uninitialized warning -- we were looking for the VLAN 2003-10-29 03:31:22 +00:00
if_sipreg.h accept 1518-byte frames (needed for vlan). Valtteri Vuorikoski 2003-08-15 07:29:34 +00:00
if_sk.c Make sure we can transmit larger packets correctly. 2003-10-30 04:11:36 +00:00
if_skreg.h retain the FreeBSD RCS Id for xmaciireg.h for reference 2003-08-26 21:14:08 +00:00
if_skvar.h boundary, not boundry. Inspired by Tom Cosgrove. 2003-11-02 10:31:06 +00:00
if_ste.c Add a missed htole32() for DMA txdescs. 2003-06-05 16:33:43 +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 coaless -> coalesce. 2003-05-14 13:03:36 +00:00
if_tl.c Spell address with two d's. Inspired by similar changes in OpenBSD, 2003-11-10 08:51:51 +00:00
if_tlp_pci.c Fix uninitialized variable warnings 2003-11-03 03:05:25 +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 - Change callout_setfunc() to require that the callout handle is already 2003-10-27 16:52:01 +00:00
if_txpreg.h some cleanup/fixes: 2003-07-07 15:18:24 +00:00
if_vr.c Don't set VR_EECSR_LOAD before reading the MAC address on the VT6102 either. 2003-11-14 22:33:29 +00:00
if_vrreg.h - No need to set VR_TXCTL_TLINK in vr_start() because all TX buffers have 2003-10-17 17:42:35 +00:00
if_wi_pci.c Switch wi(4) to the new 802.11 layer. 2003-10-13 08:07:21 +00:00
if_wm.c Fix brain'o in PCIX speed detection. kern/23375 (John R. Shannon). 2003-11-07 06:03:52 +00:00
if_wmreg.h Fix brain'o in PCIX speed detection. kern/23375 (John R. Shannon). 2003-11-07 06:03:52 +00:00
ifpci.c fix uninitialized uses caught by gcc 2003-10-28 17:01:19 +00:00
ifpci2.c fix uninitialized uses caught by gcc 2003-10-28 17:01:19 +00:00
igsfb_pci.c Redo attachment to support proper cnattach. 2003-05-10 01:51:56 +00:00
igsfb_pcivar.h Redo attachment to support proper cnattach. 2003-05-10 01:51:56 +00:00
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 Ready the kernel side of i4b for primary rate interface support by 2003-10-03 16:38:44 +00:00
isic_pci.h
isic_pci_elsa_qs1p.c We are getting passed an integer value via a void* arg (in an ioctl() like 2003-05-08 21:18:42 +00:00
isp_pci.c Add in changes from Matt Thomas to check for 64 bit PCI stuff. 2003-08-07 01:05:56 +00:00
iwic_bchan.c
iwic_dchan.c
iwic_fsm.c
iwic_pci.c Ready the kernel side of i4b for primary rate interface support by 2003-10-03 16:38:44 +00:00
iwicreg.h
iwicvar.h function prototype must not have variable name 2003-07-08 10:06:28 +00:00
joy_eso.c add missing __KERNEL_RCSID() 2003-07-14 15:47:00 +00:00
joy_pci.c
ld_amr.c - Fix the mailbox protocol. Not tested with newer 'Quartz' controllers. 2003-05-04 16:15:35 +00:00
ld_twe.c Confirmed; don't need to query stripe size on TwinStor. 2003-09-26 03:11:41 +00:00
lpt_puc.c
machfb.c add missing __KERNEL_RCSID() 2003-07-14 15:47:00 +00:00
machfbreg.h
mlx_pci.c
mly.c Back out the lwp/ktrace changes. They contained a lot of colateral damage, 2003-06-29 22:28:00 +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 add missing __KERNEL_RCSID() 2003-07-14 15:47:00 +00:00
mpu_cmpci.c
mpu_eso.c
mpu_fms.c
mpu_yds.c
neo-coeff.h
neo.c Remove some assigned-to but otherwise unused variables. 2003-10-30 01:58:17 +00:00
neoreg.h
oboe.c Remove unnecessary code. 2003-10-28 23:56:00 +00:00
oboereg.h
ohci_pci.c
opl_cmpci.c
opl_eso.c
opl_fms.c
opl_sv.c
opl_yds.c
optiide.c Remove IDE_PCI_CLASS_OVERRIDE -- it wasn't actually used anywhere. In lieu of 2003-10-24 00:24:15 +00:00
pccbb.c Fix uninitialized variable warnings 2003-10-25 18:29:12 +00:00
pccbbreg.h
pccbbvar.h PCI-CardBus bridge support for sparc64: 2003-03-22 06:25:14 +00:00
pci.c support new quirk bits on debug output 2003-08-18 05:39:07 +00:00
pci_map.c
pci_quirks.c - check HDRTYPE early, and ignore if it is not supported (n > 2). 2003-08-15 07:17:21 +00:00
pci_subr.c Back out the lwp/ktrace changes. They contained a lot of colateral damage, 2003-06-29 22:28:00 +00:00
pci_usrreq.c Back out the lwp/ktrace changes. They contained a lot of colateral damage, 2003-06-29 22:28:00 +00:00
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 some IDs for the EPIA-M 10000 motherboard. 2003-11-03 15:57:46 +00:00
pcidevs.h Regen. 2003-11-03 15:58:48 +00:00
pcidevs_data.h Regen. 2003-11-03 15:58:48 +00:00
pciide.c Split pciide in per-chip family driver, as proposed in 2003-10-08 11:51:59 +00:00
pciide_acard_reg.h Add support for Acard ATP865/A Ultra100 IDE Controllers. From Tsubai Masanari. 2003-10-24 15:50:02 +00:00
pciide_acer_reg.h Remove references to University of California from my copyright notices. 2003-10-05 17:48:49 +00:00
pciide_apollo_reg.h Split pciide in per-chip family driver, as proposed in 2003-10-08 11:51:59 +00:00
pciide_cmd_reg.h Remove references to University of California from my copyright notices. 2003-10-05 17:48:49 +00:00
pciide_common.c If we found a compat channel disabled, unmap the registers. There may be 2003-10-23 19:29:35 +00:00
pciide_cy693_reg.h Remove references to University of California from my copyright notices. 2003-10-05 17:48:49 +00:00
pciide_hpt_reg.h Remove references to University of California from my copyright notices. 2003-10-05 17:48:49 +00:00
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 Remove references to University of California from my copyright notices. 2003-10-05 17:48:49 +00:00
pciide_piix_reg.h Remove references to University of California from my copyright notices. 2003-10-05 17:48:49 +00:00
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 Remove references to University of California from my copyright notices. 2003-10-05 17:48:49 +00:00
pciide_sl82c105_reg.h
pciidereg.h
pciidevar.h Remove IDE_PCI_CLASS_OVERRIDE -- it wasn't actually used anywhere. In lieu of 2003-10-24 00:24:15 +00:00
pciio.h
pcireg.h - Since we access PCI config space as 32-bit words, redefine the PCI-X 2003-10-21 16:22:48 +00:00
pcivar.h - check HDRTYPE early, and ignore if it is not supported (n > 2). 2003-08-15 07:17:21 +00:00
pcscp.c Utilize bus_dma(9) functions more efficiently. 2003-10-19 10:25:42 +00:00
pcscpreg.h
pdcide.c Clear interrupts at end of attach, in case there is one pending. 2003-11-15 16:40:46 +00:00
piixide.c Cosmetic changes: 2003-10-11 17:40:15 +00:00
plx9060reg.h
plx9060var.h
ppb.c Handle 64bit DMA addresses on PCI for platforms that can (currently only 2003-06-15 23:08:53 +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 Also pass a type argument to comcnattach() and com_kgdb_attach(). 2003-06-14 17:01:06 +00:00
puccn.h function prototype must not have variable name 2003-07-08 10:06:28 +00:00
pucdata.c add entry for Lava Quattro-PCI (4 port serial) 2003-09-28 07:22:01 +00:00
pucvar.h
rccide.c Sync with sys/dev/pci/pcidevs change (ProductID 0x0213 was renamed 2003-11-07 10:44:42 +00:00
siop_pci.c Use PAGE_SIZE rather than NBPG. 2003-04-09 00:28:28 +00:00
siop_pci_common.c return not break. 2003-10-25 21:31:20 +00:00
siop_pci_common.h
siside.c Cosmetic changes: 2003-10-11 17:40:15 +00:00
slide.c Cosmetic changes: 2003-10-11 17:40:15 +00:00
stpcide.c Added stpcide(4) driver for STMicroelectronics STPC IDE controllers. 2003-10-31 06:49:58 +00:00
sv.c DMA, not dma nor Dma. 2003-05-03 18:10:37 +00:00
svreg.h
svvar.h DMA, not dma nor Dma. 2003-05-03 18:10:37 +00:00
tga.c eliminate uvm_useracc() in favor of checking the return value of 2003-11-13 03:09:28 +00:00
tga_conf.c
tgareg.h
tgavar.h
trm.c Remove some assigned-to but otherwise unused variables. 2003-10-30 01:58:17 +00:00
trmreg.h
twe.c Correct the size passed to a malloc() call when performing command 2003-11-10 15:35:39 +00:00
tweio.h - Protect against multiple inclusion. 2003-09-25 18:05:40 +00:00
twereg.h Add a few additional control bits and opcodes. From FreeBSD. 2003-09-22 01:28:25 +00:00
twevar.h - Make CCB allocation slightly more efficient by changing how the 2003-09-23 23:50:04 +00:00
ubsec.c * Make matching and chip info table-driven. 2003-08-28 19:00:52 +00:00
ubsecreg.h Preliminary port of merged OpenBSD/FreeBSD ubsec driver for Bluesteel 2003-08-01 00:08:55 +00:00
ubsecvar.h Preliminary port of merged OpenBSD/FreeBSD ubsec driver for Bluesteel 2003-08-01 00:08:55 +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 Back out the lwp/ktrace changes. They contained a lot of colateral damage, 2003-06-29 22:28:00 +00:00
vga_pcivar.h
viaenv.c
viaide.c Remove IDE_PCI_CLASS_OVERRIDE -- it wasn't actually used anywhere. In lieu of 2003-10-24 00:24:15 +00:00
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 available, not avaliable. From miod@openbsd. 2003-09-29 09:50:21 +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