NetBSD/sys/dev/pci
martin 456f63b54e Sprinkle a few bus_space_read*/bus_space_write* calls and simplify register
offset calculation. Mostly from Bang Jun Young.

Don't call wsdisplay_cnattach unconditionally.

On sparc use OF to decide whether we are console output.

This makes it actually work on my U5 - if only we had a keyboard driver
to produce wskbd events (coming soon).
2002-10-25 18:03:03 +00:00
..
bktr merge kqueue branch into -current 2002-10-23 09:10:23 +00:00
aac_pci.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:50:59 +00:00
adv_pci.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:50:59 +00:00
adw_pci.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:50:59 +00:00
agp_ali.c
agp_amd.c
agp_i810.c update the is_bound flag for local memory too 2002-08-11 12:36:21 +00:00
agp_intel.c
agp_sis.c
agp_via.c
agp.c merge kqueue branch into -current 2002-10-23 09:10:23 +00:00
agpreg.h
agpvar.h
ahc_pci.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:50:59 +00:00
amdpm.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:50:59 +00:00
amdpmreg.h Collect random number from AMD 768MPX power management controller. 2002-06-02 02:44:27 +00:00
amr.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:50:59 +00:00
amrreg.h
amrvar.h
auich.c Fix typo in comment. 2002-10-12 19:45:54 +00:00
auichreg.h auich_softc: 2002-10-08 10:25:45 +00:00
autri.c Bit shifts for interrupt channel exceeded u_int32_t width. 2002-10-20 01:06:10 +00:00
autrireg.h Fix playback problem on SiS7018. 2002-05-30 17:04:13 +00:00
autrivar.h
auvia.c Support for 4ch/6ch audio playback with VT8233/VT8235. 2002-10-16 15:27:28 +00:00
auviavar.h Support for 4ch/6ch audio playback with VT8233/VT8235. 2002-10-16 15:27:28 +00:00
bha_pci.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:50:59 +00:00
btvmei.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:50:59 +00:00
btvmeii.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:50:59 +00:00
btvmeireg.h
btvmeivar.h
cac_pci.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:50:59 +00:00
cmpci.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:50:59 +00:00
cmpcireg.h
cmpcivar.h
com_puc.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:50:59 +00:00
cs428x.c
cs428x.h
cs428xreg.h
cs4280_image.h
cs4280.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:50:59 +00:00
cs4280reg.h
cs4281.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:50:59 +00:00
cs4281reg.h
cy82c693.c
cy82c693reg.h
cy82c693var.h
cy_pci.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:50:59 +00:00
cz.c merge kqueue branch into -current 2002-10-23 09:10:23 +00:00
czreg.h
devlist2h.awk
dpt_pci.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:50:59 +00:00
eap.c make a few debug printf's match reality 2002-10-10 15:39:01 +00:00
eapreg.h
ehci_pci.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:50:59 +00:00
emuxki.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:50:59 +00:00
emuxkireg.h
emuxkivar.h
esa.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:50:59 +00:00
esadsp.h
esareg.h
esavar.h
esiop_pci.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:50:59 +00:00
esm.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:50:59 +00:00
esmreg.h
esmvar.h
eso.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:50:59 +00:00
esoreg.h
esovar.h
files.agp
files.pci Add machfb, ATI Mach64/Rage framebuffer display driver. 2002-10-24 18:15:57 +00:00
fms.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:50:59 +00:00
fmsvar.h
fwlynx_pci.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:50:59 +00:00
fwohci_pci.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
gtp.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
hifn7751.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
hifn7751reg.h
hifn7751var.h
i82365_pci.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
i82365_pcivar.h
icp_pci.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
if_an_pci.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
if_bge.c Do not try to print uninitialized variable. 2002-10-06 23:34:56 +00:00
if_bgereg.h Give BCM5700 Ax and Bx revs the BGE_QUIRK_LINK_STATE_BROKEN quirk, 2002-07-13 22:31:18 +00:00
if_de.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
if_devar.h Remove uneecessary extern decl of de_ca. 2002-10-01 01:39:38 +00:00
if_en_pci.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
if_ep_pci.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
if_epic_pci.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
if_esh_pci.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
if_ex_pci.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
if_fpa.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
if_fxp_pci.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
if_gem_pci.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
if_gsip.c
if_hme_pci.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
if_le_pci.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
if_levar.h
if_lmc_common.c
if_lmc_media.c
if_lmc_nbsd.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
if_lmc_types.h
if_lmc.c
if_lmcioctl.h
if_lmcvar.h Remove uneecessary extern decl of de_ca. 2002-10-01 01:39:38 +00:00
if_ne_pci.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
if_ntwoc_pci.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
if_ntwoc_pcireg.h
if_pcn.c fix lint warnings about things being stringified under cpp -traditional 2002-10-23 01:50:11 +00:00
if_pcnreg.h Add support for memory-mapped PCnet-PCI chips. 2002-09-04 01:36:07 +00:00
if_rtk_pci.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
if_sf_pci.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
if_sip.c Change the "dontcare" bits argument of ifmedia_init() to IFM_IMASK, 2002-10-17 01:17:30 +00:00
if_sipreg.h * Give symbolic names to the CFG bits in the EEPROM. 2002-06-30 18:04:12 +00:00
if_ste.c Change the "dontcare bits" argument to ifmedia_init() to IFM_IMASK 2002-10-21 23:38:10 +00:00
if_stereg.h Typo fix 2002-06-24 16:55:17 +00:00
if_stge.c Change the "dontcare bits" argument to ifmedia_init() to IFM_IMASK 2002-10-21 23:38:10 +00:00
if_stgereg.h
if_ti.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
if_tireg.h
if_tl.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
if_tlp_pci.c tlp_pci_vpc_21140_quirks(): make agnostic to signed/unsigned char; fixes 2002-10-09 16:59:19 +00:00
if_tlregs.h
if_tlvar.h
if_vr.c Change the "dontcare bits" argument to ifmedia_init() to IFM_IMASK 2002-10-21 23:38:10 +00:00
if_vrreg.h
if_wi_pci.c WI_PCI_CBMA belongs in dev/pci. 2002-10-21 11:57:25 +00:00
if_wm.c change the macro params to longer names 2002-10-23 01:34:58 +00:00
if_wmreg.h fix typos; "wiseman" is 82542, not 82452. 2002-10-18 00:56:16 +00:00
ifpci.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
igsfb_pci.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
iha_pci.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
iop_pci.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
isic_pci_elsa_qs1p.c
isic_pci.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
isic_pci.h
isp_pci.c Put in, sight unseen, changes which should enable 10160 support. 2002-10-18 23:26:15 +00:00
iwic_bchan.c remove trailing \n in panic(). approved perry. 2002-09-27 15:35:29 +00:00
iwic_dchan.c remove trailing \n in panic(). approved perry. 2002-09-27 15:35:29 +00:00
iwic_fsm.c Driver for Winbond W6692 passive ISDN cards. 2002-09-24 22:05:19 +00:00
iwic_pci.c avoid namespace collision with IMASK 2002-10-23 14:57:15 +00:00
iwicreg.h avoid namespace collision with IMASK 2002-10-23 14:57:15 +00:00
iwicvar.h Driver for Winbond W6692 passive ISDN cards. 2002-09-24 22:05:19 +00:00
joy_eso.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
joy_pci.c match the joystick device on Creative SBLive! card; note this only works 2002-10-16 21:09:31 +00:00
ld_amr.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
ld_twe.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
lpt_puc.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
machfb.c Sprinkle a few bus_space_read*/bus_space_write* calls and simplify register 2002-10-25 18:03:03 +00:00
machfbreg.h Add machfb, ATI Mach64/Rage framebuffer display driver. 2002-10-24 18:15:57 +00:00
Makefile
Makefile.pcidevs
mlx_pci.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
mly_tables.h
mly.c merge kqueue branch into -current 2002-10-23 09:10:23 +00:00
mlyio.h
mlyreg.h
mlyvar.h
mpu_cmpci.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
mpu_eso.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
mpu_fms.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
mpu_yds.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
neo-coeff.h
neo.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
neoreg.h
oboe.c merge kqueue branch into -current 2002-10-23 09:10:23 +00:00
oboereg.h
ohci_pci.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
opl_cmpci.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
opl_eso.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
opl_fms.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
opl_sv.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
opl_yds.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
pccbb.c Don't print messages about pccbb_intr_disestablish() unless debugging 2002-10-19 18:01:59 +00:00
pccbbreg.h
pccbbvar.h Use LIST in sys/queue. Add some comments. 2002-10-01 09:09:16 +00:00
pci_map.c implement a check whether a BAR is present at all at a given configuration 2002-05-30 12:06:43 +00:00
pci_quirks.c
pci_subr.c call the capability list ptr by its name 2002-09-21 19:14:14 +00:00
pci_usrreq.c merge kqueue branch into -current 2002-10-23 09:10:23 +00:00
pci.c fix lint warnings about things being stringified under cpp -traditional 2002-10-23 01:50:11 +00:00
pciconf.c Number PCI busses using a simple pre-order numbering instead of 2002-07-30 15:00:03 +00:00
pciconf.h Before declaring pci_conf_interrupt(), check to see if it's 2002-09-28 10:31:02 +00:00
pcidevs Correct a typo in the previous change. 2002-10-25 15:56:47 +00:00
pcidevs_data.h regen 2002-10-25 15:58:03 +00:00
pcidevs.h regen 2002-10-25 15:58:03 +00:00
pciide_acard_reg.h
pciide_acer_reg.h
pciide_amd_reg.h
pciide_apollo_reg.h Correct setup for Ultra133 capable VIA chipsets, From Matthias Drochner 2002-08-25 17:25:33 +00:00
pciide_cmd_reg.h
pciide_cy693_reg.h
pciide_hpt_reg.h Add support for HPT372. From sdegler@kashmir.degler.net in kern/17908, 2002-08-23 16:24:54 +00:00
pciide_opti_reg.h
pciide_pdc202xx_reg.h Spell '[Rr]ight' correctly. From Jim Bernard. 2002-07-26 14:11:34 +00:00
pciide_piix_reg.h
pciide_sis_reg.h
pciide_sl82c105_reg.h
pciide.c Add support for VIA VT8235 2002-10-05 17:07:32 +00:00
pciidereg.h
pciidevar.h
pciio.h
pcireg.h -correct the "MSI" capability 2002-09-21 16:16:31 +00:00
pcivar.h add support for the per-device power management capability. 2002-06-18 13:18:37 +00:00
pcscp.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
pcscpreg.h
plx9060reg.h
plx9060var.h
ppb.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
ppbreg.h
puc.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
puccn.c
puccn.h
pucdata.c Add Siig 20x 8 ports and and Oxford x952 cards. From Paul Shupak in kern/17790. 2002-08-02 10:40:30 +00:00
pucvar.h
README
siop_pci_common.c
siop_pci_common.h
siop_pci.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
sv.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
svreg.h
svvar.h
tga_conf.c
tga.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
tgareg.h
tgavar.h
trm.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
trmreg.h
twe.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
twereg.h
twevar.h NBPG is not constant on the sparc, so don't use CPP tricks. 2002-05-24 18:10:06 +00:00
uhci_pci.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
universe_pci_var.h
universe_pci.c
usb_pci.c
usb_pci.h
vga_pci.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
vga_pcivar.h
viaenv.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
viapm.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
viapmvar.h
weasel_pci.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
weaselreg.h
yds.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
ydsreg.h
ydsvar.h

$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