Commit Graph

22 Commits

Author SHA1 Message Date
wrstuden 0df8bcdc46 We need pciidereg.h to compile now. 1999-11-15 23:52:07 +00:00
thorpej 35df607966 Allow pci_init() to be called twice, once just to find the PCI-Host
bridges and determine the "pci chipset" values (for making PCI tags),
and again to actually map the configuration space registers.
1999-05-06 19:16:44 +00:00
tsubai 9042054e51 Fix a small bug to make both IO and MEM enable bits in csr are set. 1999-05-05 08:43:53 +00:00
thorpej 654b0fff46 - Completely rewrite how bus space tags for PCI space are set up. Instead
of hard-coding them, decode the "ranges" property of the PCI bus node in
OpenFirmware.
- Do a little cleanup, and share some more code between the Bandit/Chaos
and MPC106.

XXX The bus_space(9) implementation for macppc really needs to be
rewritten.
1999-05-05 04:37:19 +00:00
thorpej c448c97f2b - Add come comments.
- Do a little cleanup.
- Protect the entirety of pci_conf_{read,write}() with splhigh()/splx().
1999-05-05 04:32:28 +00:00
wrstuden 9b0e678d51 Fix compilation errors. 1999-04-22 18:48:59 +00:00
thorpej 48a53c250d Add a stub pciide_machdep_compat_intr_establish() for Power Macintosh.
Power Macintoshes with PCI IDE (e.g. the new Blue G3) don't have them
wired to compatibility mode, so just return a NULL cookie.  We still have
to have this routine for the PCI IDE driver to link.
1999-04-16 21:15:29 +00:00
tsubai 7c3a6002b3 Use interrupt-map property rather than hard-coding irqs.
(From Dan Winship <danw@MIT.EDU>. Slightly modified by me)
1999-03-29 12:12:03 +00:00
cgd 284689634e Moved to arch/macppc/include/pci_machdep.h,v 1999-03-19 03:36:19 +00:00
tsubai 79c71e0bae Check the accessibility before reading from configuration space. 1999-03-15 03:03:10 +00:00
tsubai 630abfea00 Add PCI-PCI bridge support for Bandit. 1999-02-04 14:54:00 +00:00
tsubai bdf1b68276 iMac support (not complete yet). 1998-12-29 06:27:59 +00:00
tsubai 325ecdada1 Use PCI function number correctly. 1998-10-21 08:58:36 +00:00
tsubai 810fcde7eb Set PCI bus number correctly. 1998-10-15 14:39:53 +00:00
mycroft 6d3d8a1350 Make copyright notices with my name consistent. 1998-08-15 03:02:31 +00:00
tsubai 1ca186e04d G3 Macs also needs to fix pci io/mem enable bits. 1998-07-24 20:53:57 +00:00
tsubai c11b71818d Fix typo. 1998-07-17 18:53:19 +00:00
tsubai 0a6758d760 "chaos" PCI controller support.
Clean up.
1998-07-17 18:40:31 +00:00
tsubai 5f7fef3c79 Add bus_dma support. 1998-07-17 18:38:10 +00:00
tsubai fb93315ffc Change pcitag_t format for bandit. 1998-07-17 18:31:56 +00:00
tsubai a0fead97de Add support for Motorola MPC106. 1998-07-13 19:27:13 +00:00
tsubai 2be6df07c6 Initial import of macppc port. 1998-05-15 10:15:45 +00:00