summaryrefslogtreecommitdiff
path: root/sys/arch/i386/pci
AgeCommit message (Collapse)Author
2003-01-21add elan520 from netbsd; adapted to watchdog sysctl interface;Markus Friedl
ok mickey@, jakob@, henric@, fgsch@
2003-01-08do not match on via866 smbus controller; reported and tested by grange@Michael Shalayeff
2002-09-23For serverworks chipsets: instead of trying to prevent attaching the same busNathan Binkert
multiple times by restricting matches based on device id and revision, keep track of the bus numbers that were attached, and don't reattach them a second time. ok deraadt
2002-08-22match more serverworks "double bridges", based on discussions with nate andTheo de Raadt
brad
2002-07-12check upon the pir length prior to using it, ignore short tables; from ↵Michael Shalayeff
henric@attbi.com
2002-07-12support for the agp gart on various agp chipsets.Michael Shalayeff
only i810 driver was tested though. based on the netbsd's lkm, initially ported by hunter@dg.net.ua and later made into shape by mickey. testing by art@ and millert@ .
2002-06-14spelling; from Brian Poole <raj@cerias.purdue.edu>Todd T. Fries
2002-06-12pci revision is in the class field, not the id (some ppl just refuse to ↵Michael Shalayeff
follow the rules)' pt out by patrik@lindergren.com
2002-05-30iff pcibios is enabled, record _every_ established pci interruptMichael Shalayeff
for it will not get reprogrammed for isa later. should help lost and hanging pci interrupts. testing by fries@, krw@, mordin@, philipp@ and others
2002-05-10on ServerWorks CNB20HE Host:Michael Shalayeff
do not synthesyse secondary pci bus on the pchb0 rev 0x23 OR pchb1 w/ any revision. prompted by frisco@blackant.net in pr#2642
2002-05-06Try to deal with the pci shadow bus issue by disabling a specific chipNathan Binkert
revision of the CNB20HE that always seems to be involved in the shadow bus. This is definately not the right way to do things. The correct way is to try to figure out that the bus is being detected for the second time. ok deraadt
2002-05-06drop out of any intr fixup activities if was disabled in the config flagsMichael Shalayeff
2002-05-02update the nbsd rcsid to unconfuse some lamersMichael Shalayeff
2002-04-28Machines with the Serverworks CNB20HE chipset also have a CIOB20 i/o bridge.Nathan Binkert
Instead of attaching pci busses to the CNB20HE, attach them to the CIOB20. This fixes problems where many of these machines will not attach a second pci bus. This also like Theo's previous diff prevents the shadow bus from appearing. Ok deraadt.
2002-04-24be much more picky about which RCC products are multi-bridgesTheo de Raadt
2002-03-21Some laptops (such as the Toshiba Libretto L series) use _PIR insteadTodd C. Miller
of the standard $PIR for the signature so for that too. From NetBSD and FreeBSD. mickey@ says commitski
2002-03-14Final __P removal plus some cosmetic fixupsTodd C. Miller
2002-03-14First round of __P removal in sysTodd C. Miller
2002-02-20support amd766 as amd756; from peter@ (pr/1948); tested by Henning Brauer ↵Michael Shalayeff
<lists-openbsdbugs@bsws.de>
2001-12-31man says bus_space_map() returns non-zero, not negative on failureMichael Shalayeff
2001-12-16match piix icu type on 82810ba/m; from netbsdMichael Shalayeff
2001-12-04missing \nMichael Shalayeff
2001-11-28somebody forgot somethingMichael Shalayeff
2001-11-28revert hardware breakageTodd T. Fries
2001-11-06Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary.Miod Vallat
(Look ma, I might have broken the tree)
2001-10-25add an ali1543 and fix amd756 icu driversMichael Shalayeff
2001-09-11Don't include <vm/vm_kern.h> if you don't need foo_map.Miod Vallat
2001-08-27Let this build without pcibios.Artur Grabowski
2001-08-25This hasn't been used for ages. Kill.Artur Grabowski
2001-08-25Change pci_intr_map to take pci_attach_args as an argument.Artur Grabowski
All callers actually took all arguments to pci_intr_map from pci_attach_args structs, so this simplifies code. This also allows more complicated interrupt assignment schemes like the one on sparc64. This makes sparc64 pci interrupts work. Inspired by the same change in NetBSD.
2001-08-17provide a way to get the number used for irq line, not only a stringMichael Shalayeff
representation, this is needed for devices like cbb which pass the interrupt line down to the cardbus attachment and not getting the right line before pci_intr_map() has done it's dirty deed. tested on i386 by jason@, compiles on alpha by art@. ppc and mveppc are to be test-compiled, but should work (;
2001-08-17quieten pcmcia/cardbus interrupt handling at unsuspend timeTheo de Raadt
2001-07-05Get rid of the wrapper macros around extent_alloc*1Artur Grabowski
Pass the right amount of arguments and rename them back to their right names.
2001-06-25PCIIDE compat intr disestablish routines for i386Constantine Sapuntzakis
2001-06-17Don't pciaddr_do_resource_allocate if device is AGP to avoid conflict.Michael Shalayeff
from Masanori Kanaoka <kanaoka@netbsd.org>
2001-06-08it seems that via has 7, not 4 pci interrupt lines.Michael Shalayeff
this fixes unmapped interrupts on some via-based boards, reported by angelos@, tested w/ aaron@, millert@, jason@. in any case must not break currently working boards.
2001-05-13left tag uninitted in the good case in the last commit; jason@ pointed it outMichael Shalayeff
2001-05-12A number of buggy BIOS implementations leave the routerMichael Shalayeff
entry as 000:00:0, which is typically not the correct device/function. If the router device address is set to this value, and the compatible router entry is undefined (zero is the correct value to indicate undefined), then we work on the basis it is most likely an error, and search the entire device-space of bus 0 (but obviously starting with 000:00:0, in case that really is the right one). from Dave Sainty <dave@dtsp.co.nz>
2001-05-12always print the icu we've foundMichael Shalayeff
2001-04-23when we take a pci interrupt, upgrade it to level. but always ignoreTheo de Raadt
changes which force to edge, because it appears that a lot of via bios do not contain a full list of level interrupts. when we set such an interrupt to edge, we spin and hang. i suggested this behaviour change, and this fix is by northpoint mickey.
2001-04-04Minor cleanup to minimize diffs with NetBSDConstantine Sapuntzakis
2001-03-15make sure pcibios ever attached; found by aaron@Michael Shalayeff
2001-02-28shorter thus better printingsMichael Shalayeff
2001-01-28better messageMichael Shalayeff
2001-01-27patchable no verbose default pcibios_flagsMichael Shalayeff
2001-01-27change interrupt routing strategy from simpleMichael Shalayeff
run through the devices and programming the icu and pci headers before real pci bus autoconf starts and include all devices present on all pci busses, to a per attached device routing in pci_intr_map(). this solves several cases of premature interrupts hanging system due to absent interrupt handlers during autoconf. 10x for testing: millert@ krw@ aaron@ chris@ tholo@ brad@ jason@ deraadt@
2001-01-25make code for searching in pcibios's addr allocationMichael Shalayeff
extents common for both io and mem and private to pcibios.
2001-01-25put pci_intr_fixup.h into pcibiosvar.h; billions of tiny headers for nothingMichael Shalayeff
2001-01-24put pci_addr_fixup.h into pcibiosvar.h as well,Michael Shalayeff
all it had were a struct and a proto.
2001-01-24elliminate pci_bus_fixup.h by movingMichael Shalayeff
pci_bus_fixup() proto into pcibiosvar.h