summaryrefslogtreecommitdiff
path: root/sys/arch/i386/pci
AgeCommit message (Collapse)Author
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
2001-01-22this should make i850 and i860 hubs do RNGTheo de Raadt
2001-01-16fix VP3_PIRQ arg name, use I386_PCI_INTERRUPT_LINE_NO_CONNECTION; from netbsdMichael Shalayeff
2000-12-29kiss in the rng; all those evil voices kept me pushing for it...Michael Shalayeff
2000-12-25always read new byte from rng, then decide wheather to start a new cycleMichael Shalayeff
2000-11-08Don't busy-wait for random data.Artur Grabowski
Remove unnecessary splhigh.
2000-11-07AMD750 Athlon chipset support for PCIBIOS_INTR_FIXUP; from minoura@jp.netbsd.orgMichael Shalayeff
2000-10-31rename pcibios.h to pcibiosvar.hTheo de Raadt
2000-10-27and angry dwarfs came on to meMichael Shalayeff
2000-10-26match via82c586 also on other apollo chipsets, such as VT82C585, VT82C596A, ↵Michael Shalayeff
VT82C686A; after pondering in linux code; krw@ testing; deraadt@ ok
2000-10-25put back using bios_pciinfo, we will rework it later onMichael Shalayeff
2000-10-23ok, i think all i82802-using host bridges are in here nowTheo de Raadt
2000-10-23KbitTheo de Raadt
2000-10-23i820 also does rng; art testedTheo de Raadt
2000-10-19find RNG on i815 hubTheo de Raadt
2000-10-16less newlines in verbose printMichael Shalayeff
2000-10-16protect %edx when calling biosMichael Shalayeff
2000-10-16a little verbosity on probe, a little caution on bios callsMichael Shalayeff
2000-09-22this follows the dox, saying that %ds should be loaded w/Michael Shalayeff
the proper segment address/selector as returned from bios32_service(). both %cs and %ds have to be the same value (hmm, same descs?), sincw some bioses are pic, and care only about offsets against the segs. huge, enormous, 10X to brad@ for providing an incredibly usefull testbed and invaluable time of his, for resets and incouraging comments (;
2000-09-20check out the bios device name we are probed w/ to not probe on apmMichael Shalayeff
2000-09-20Extend the region in which we allow mapping unmapped PCI devices.Niklas Hallqvist
The former code only allowed one fixed up device mapping.
2000-09-15enable hw rng for vanilla 810; 10x for testing to Stephan Somogyi ↵Michael Shalayeff
<somogyi@gyroscope.net>
2000-09-07do not call pcibios_pir_init() if intr_fixup was disabled; also, sync w/ ↵Michael Shalayeff
latetest netbsd developments
2000-09-05init pcibios_flags to -1, so if pcibios is disabled in ukc all looks disabledMichael Shalayeff
2000-09-04update netbsd rcsid, which we seem to be up toMichael Shalayeff
2000-09-04fix dmesg outputTheo de Raadt
2000-09-04export pcibios config flagsMichael Shalayeff
2000-08-17pcibios tells us everything, no bios_pciinfoMichael Shalayeff
2000-08-17pcibios0 at bios0 flags 0x0000Michael Shalayeff
this is now a real device, which looks in flags for disabling address, interrupt or bus fixup. bios0's flags are to disable bios32 and pcibios probing. since boot_config support editing flags, it's posible to adjust pcibios functionality in the generic kernel upon boot time. man is coming.
2000-08-08sync w/ netbsd almost -current code (;Michael Shalayeff
fixes quite a few problems. adds new option PCIBIOS_ADDR_FIXUP. numerous extra fixes by me, also pointed out by other ppl, such as avoid panics, ifdef on pciverbose, not diagnostic, some other smaller knits; some have been forwarded back to netbsd developers, some will go soon too.
2000-08-02update n-rcsidsMichael Shalayeff
2000-08-02add yauc about fips; also some ugly spacesMichael Shalayeff
2000-08-01Add PCI attachment for i82365-compatible PCMCIA controllers. Needed forAaron Campbell
the Cirrus Logic CL-PD6729 controller found on some laptops, i.e., the Gateway 2000 Solo 2100. Thanks to JDempsey@iss.net for testing and initiallly prodding me to get PC Cards to work in his laptop.
2000-07-18do not include random number in dmesg, per deraadt's suggestion.Michael Shalayeff
instead, print rng number generation speed, measured.