NetBSD/sys/dev/pci
scw 5b05921978 Copy our pci_chipset_tag_t into wi_pci_softc instead of a pointer
to pci_attach_args. The latter is allocated on the stack during auto-
configuration and so will not be valid after that time.

It's amazing how the old code worked for so long. I guess pci_attach_args
is allocated deep in pid#0's kernel stack on most platforms.
2003-09-29 14:10:35 +00:00
..
bktr Back out the lwp/ktrace changes. They contained a lot of colateral damage, 2003-06-29 22:28:00 +00:00
Makefile Install twereg.h and tweio.h 2003-09-25 18:05:53 +00:00
Makefile.pcidevs
README
aac_pci.c
adv_pci.c
adw_pci.c
agp.c Add support for i865G integrated graphics support to agp(4). Patches 2003-08-26 17:33:22 +00:00
agp_ali.c
agp_amd.c
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
agp_via.c
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 Make this less chatty on probe/attach, to match the output of other controllers. 2003-09-02 20:59:51 +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 Add DELL Perc 4/di (from Freebsd). 2003-09-26 16:31:08 +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 Support for 4ch/6ch audio playback. 2003-09-28 13:37:19 +00:00
auichreg.h DMA, not dma nor Dma. 2003-05-03 18:10:37 +00:00
autri.c add missing __KERNEL_RCSID() 2003-07-14 15:47:00 +00:00
autrireg.h
autrivar.h
auvia.c Enable auvia_reset_codec's code and wait until the card is available. 2003-09-14 14:48:17 +00:00
auviavar.h
bha_pci.c
btvmei.c
btvmeii.c
btvmeireg.h
btvmeivar.h
cac_pci.c
cmpci.c
cmpcireg.h
cmpcivar.h
com_puc.c
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
cz.c Back out the lwp/ktrace changes. They contained a lot of colateral damage, 2003-06-29 22:28:00 +00:00
czreg.h
devlist2h.awk
dpt_pci.c
eap.c DMA, not dma nor Dma. 2003-05-03 18:10:37 +00:00
eapreg.h
ehci_pci.c
emuxki.c DMA, not dma nor Dma. 2003-05-03 18:10:37 +00:00
emuxkireg.h
emuxkivar.h DMA, not dma nor Dma. 2003-05-03 18:10:37 +00:00
esa.c add missing __KERNEL_RCSID() 2003-07-14 15:47:00 +00:00
esadsp.h
esareg.h
esavar.h
esiop_pci.c
esm.c
esmreg.h
esmvar.h
eso.c
esoreg.h
esovar.h
files.agp
files.pci add new driver for broadcom BCM4401 chipset (as seen on recent dell 2003-09-27 13:13:28 +00:00
fms.c DMA, not dma nor Dma. 2003-05-03 18:10:37 +00:00
fmsvar.h
fwlynx_pci.c
fwohci_pci.c
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
i82365_pci.c
i82365_pcivar.h
iavc_pci.c Add a driver for the CAPI-compliant AVM B1/T1 cards. 2003-09-25 15:53:26 +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
if_atw_pci.c Oops. Add the atw(4) sources, too. 2003-07-06 22:57:23 +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 as suggested by Nicolas Joly in PR kern/22682: 2003-09-05 08:53:23 +00:00
if_bgereg.h Support the BCM5704C rev 3. From Nicolas Joly, PR 22620 2003-08-27 23:13:50 +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
if_ep_pci.c
if_epic_pci.c
if_esh_pci.c
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
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
if_gsip.c
if_hme_pci.c
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
if_lmc_nbsd.c
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 add missing __KERNEL_RCSID() 2003-07-14 15:47:00 +00:00
if_ne_pci.c
if_ntwoc_pci.c DMA, not dma nor Dma. 2003-05-03 18:10:37 +00:00
if_ntwoc_pcireg.h
if_pcn.c add rnd hooks 2003-07-21 08:38:56 +00:00
if_pcnreg.h
if_rtk_pci.c
if_sf_pci.c
if_sip.c KNF 2003-08-25 20:36:47 +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 Fix a printf format. 2003-09-08 19:17:29 +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 Add driver for SysKonnect SK-9821 and 3COM 3C940 gigabit ethernet boards 2003-08-26 21:11:00 +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
if_stgereg.h
if_ti.c
if_tireg.h coaless -> coalesce. 2003-05-14 13:03:36 +00:00
if_tl.c
if_tlp_pci.c Properly reset PHY on ZNYX boards which are composed of 2003-06-27 12:25:38 +00:00
if_tlregs.h
if_tlvar.h
if_txp.c make the vlan stuff work 2003-08-20 17:41:38 +00:00
if_txpreg.h some cleanup/fixes: 2003-07-07 15:18:24 +00:00
if_vr.c add VT6105 support to vr(4) 2003-08-23 00:14:28 +00:00
if_vrreg.h
if_wi_pci.c Copy our pci_chipset_tag_t into wi_pci_softc instead of a pointer 2003-09-29 14:10:35 +00:00
if_wm.c Add support for jumbo (9K) frames. Add support for larger receive 2003-09-10 04:02:17 +00:00
if_wmreg.h Use proper shift marcos for EXT. This makes the PHY on i83543 get 2003-05-30 02:08:55 +00:00
ifpci.c
ifpci2.c
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
iop_pci.c
isic_pci.c
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 We are getting passed an integer value via a void* arg (in an ioctl() like 2003-05-08 21:18:42 +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
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 DMA, not dma nor Dma. 2003-05-03 18:10:37 +00:00
neoreg.h
oboe.c add missing __KERNEL_RCSID() 2003-07-14 15:47:00 +00:00
oboereg.h
ohci_pci.c
opl_cmpci.c
opl_eso.c
opl_fms.c
opl_sv.c
opl_yds.c
pccbb.c regard as the card is removed if one of CCD1# and CCD2# is deasserted. 2003-06-19 10:48:58 +00:00
pccbbreg.h
pccbbvar.h
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
pciconf.h
pcidevs Add Dell Perc 4/DI 2003-09-26 07:45:15 +00:00
pcidevs.h Regen. 2003-09-26 07:47:14 +00:00
pcidevs_data.h Regen. 2003-09-26 07:47:14 +00:00
pciide.c Hide the use of config_interrupts() in one place. 2003-09-25 19:29:48 +00:00
pciide_acard_reg.h
pciide_acer_reg.h
pciide_amd_reg.h
pciide_apollo_reg.h
pciide_cmd_reg.h
pciide_cy693_reg.h
pciide_hpt_reg.h
pciide_i31244_reg.h
pciide_opti_reg.h
pciide_pdc202xx_reg.h Correct setup of General Purpose Register for PDC20265 (Ultra/100) and newer. 2003-06-28 23:13:26 +00:00
pciide_piix_reg.h
pciide_sii3112_reg.h
pciide_sis_reg.h
pciide_sl82c105_reg.h
pciidereg.h
pciidevar.h GC a structure element. 2003-09-23 09:11:43 +00:00
pciio.h
pcireg.h Define PCI32_DMA_BOUNCE_THRESHOLD 2003-05-05 13:04:29 +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 DMA, not dma nor Dma. 2003-05-03 18:10:37 +00:00
pcscpreg.h
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
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
siop_pci.c
siop_pci_common.c
siop_pci_common.h
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 Back out the lwp/ktrace changes. They contained a lot of colateral damage, 2003-06-29 22:28:00 +00:00
tga_conf.c
tgareg.h
tgavar.h
trm.c
trmreg.h
twe.c Fix up the TWEIO_COMMAND code to actually work. The 3ware management API 2003-09-25 22:26:40 +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
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
viapm.c
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
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