summaryrefslogtreecommitdiffstats
path: root/sys/pci/pci.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Set default burst length limit to 32 bytes, since this seems to bese1995-12-061-2/+3
| | | | | | an acceptable value for all current chip sets (just a hint to PCI device drivers, used in the NCR driver, for example). Add PCI Vendor ID of ACER.
* Made pci.c compile again. It unfortunately depends on the isa interruptbde1995-11-211-1/+3
| | | | interface. Adding prototypes just made the dependency explicit.
* Mega commit for sysctl.phk1995-11-201-12/+7
| | | | | | Convert the remaining sysctl stuff to the new way of doing things. the devconf stuff is the reason for the large number of files. Cleaned up some compiler warnings while I were there.
* Fixed bug where wrong thing was being checked for NULL before callingdg1995-10-021-2/+2
| | | | | free(), resulting in a panic. This happend whenever an irq had already been allocated by another device (like something on the ISA bus).
* Add vendor ID of Compaq, now that I found what it is ...se1995-09-141-2/+2
|
* Minor changes to the PCI probe messages.se1995-09-141-7/+6
|
* Make mapping messages depend on bootverbose flag.se1995-09-071-67/+182
| | | | Add PCI subclass to unknown device message.
* Initialize "name" to quiet compiler.dg1995-07-291-2/+2
|
* Add a few vendor IDs.se1995-07-271-8/+21
|
* Get rid of references to the linker supplied set length field.se1995-07-271-15/+15
| | | | Use the terminating NULL pointer as the end of list marker instead.
* Change message "not supported" to "no driver assigned", becausese1995-06-281-2/+2
| | | | | | | people tend to assume their devices won't work if they see this message, though it may indicate that those devices just don't need any PCI driver (e.g. devices that emulate an ISA card, or that have been initialised by the BIOS and need no further care).
* Failure of the consistency checks for BIOS assigned mappings of bussesse1995-06-281-6/+16
| | | | connected via PCI to PCI bridges is considered non fatal for now.
* Remove trailing whitespace.rgrimes1995-05-301-6/+6
|
* bzero the malloced pci_devconf structure. This should fix the problem withdg1995-05-041-1/+2
| | | | several of freefall's recent crashes.
* Restore my changes to initialize the kdc_shutdown routine pointer. Stefandg1995-03-231-4/+5
| | | | | clobbered it in his previous commit and not having it causes the machine to panic during reboot (as well as not doing the important shutdown callout).
* Completely new PCI code:se1995-03-211-507/+1030
| | | | | | | | | | | | | | 1) Supports PCI to PCI bridge devices (and tries to initialise them, even if the BIOS is brain dead). 2) Supports shared PCI interrupts. Interrupt handlers now MUST return '0' if they found nothing to do, '1' otherwise. New features tested with i486 systems based on the Intel Saturn and a DEC 4channel Ethernet card only, but expected to work on most systems. The option PCI_REMAP has been removed ! Submitted by: Wolfgang Stanglmeier <wolf@kintaro.cologne.de>
* Added a new field to the pci_device struct called pd_shutdown to specifydg1995-03-171-5/+7
| | | | | | | a device specific shutdown routine for devconf. Assign the value of this to the kern_devconf struct. Implement a device shutdown routine for if_de that disables the device. This will stop the device from corrupting memory after a reboot.
* Speed up PCI attach code by ommiting test if its result is ignored anyway.se1995-03-021-13/+15
|
* First try to add support for PCI-PCI bridge chips (written for these1995-02-271-22/+77
| | | | | | | | | DEC 21050 chip in particular, don't have specs of other such chips). This should add support for Multiple-Ethernet PCI cards (e.g. Znyx 314). Reviewed by: se Submitted by: <wolf@kintaro.cologne.de> Wolfgang Stanglmeier
* Deal with systems, that lack a fully decoded PCI configuration space.se1995-02-251-2/+22
| | | | Submitted by: <wolf@kintaro.cologne.de> Wolfgang Stanglmeier
* New PCI attach code:se1995-02-221-42/+120
| | | | | | | | | | | PCI BIOS mappings are retained, except if option PCI_REMAP is specified in the kernel config file. There is now a list of attach addresses, and the first address that seems to make some device registers appear is chosen. Reviewed by: se Submitted by: wolf
* ncr.c:se1995-02-141-2/+8
| | | | | | | | | | | | | | New config option "NCR_IOMAPPED" makes the driver use port I/O. Put back in 53c815 defines, submitted by Mikael Hybsch <micke@dynas.se>. These had got lost between cvs rev. 1.14 and now ... pci.c: Really write config space register. Assign ports starting at 0xbc00. Submitted by: wolf Reviewed by: se
* YFfixphk1995-02-141-1/+2
|
* Try to detect overlapping PCI memory assignment.se1995-02-091-1/+17
| | | | | | | | (This can only happen with devices that are mapped by the BIOS.) Reviewed by: se Submitted by: wolf (Wolfgang Stanglmeier)
* Reapplied all of Stefan's changes. What a mess - the files were modifieddg1995-02-021-130/+183
| | | | | and moved at the same time. This made it *very* difficult to fix the revision log lossage that happend when the files were moved. SIGH.
* Fixed up include paths after copying these in the repository.dg1995-02-021-2/+2
|
* Submitted by:se1994-11-021-6/+114
| | | | | Added hooks for "lsdev" ... PCI devices should need no individual code for lsdev.
* Modified fifth parameter (imask) to register_intr() according tose1994-10-251-5/+2
| | | | new definition of that function.
* Submitted by: Wolfgang Stanglmeier <wolf@dentaro.GUN.de>se1994-10-121-249/+301
| | | | | | | | | Bug fixed, that caused system hang on first interrupt on some motherboards. New version of PCI bus configuration code, now supports dynamic interrupt configuration (using BIOS supplied values). NCR SCSI and DEC Ethernet driver patched to use this feature. *** Remove PCI IRQ specifications from your kernel config file ! ***
* Correct DEC -> Digital Equipment Corporation.wollman1994-10-011-2/+2
|
* Submitted by: Wolfgang Stanglmeier <wolf@dentaro.GUN.de>se1994-09-281-5/+1
| | | | | | New version with improved support for WIDE SCSI using the NCR 53c825. Test for buggy secondary cache implementations. PCI Int to IRQ mapping now specified per slot.
* Submitted by: Wolfgang Stanglmeier <wolf@dentaro.GUN.de> + <se>se1994-09-161-126/+131
| | | | | | Improved bus probing, symbolic names for registers.. Chip set parameters get dumped for intel PCI chip sets (82424+82434 only, for now).
* Added a bit of missing functionality to make this work correctly on awollman1994-09-141-71/+93
| | | | | | | | | | | | | | wider variety of systems. Include the deivers from pci_intel.c in pci_config.c (I hope this is what was intended; my system works ok). Use pmap_mapdev(). Automatically map any large linear frame buffers or whatnot in VGA-style devices which ordinarily would not have their own drivers, and don't call not_supported() for them. (This shuts up complaints about my Matrox card.) Include the beginnings of what could eventually become dynamically-loadable PCI devices. Allow for the possibility of PCI devices simply providing a PCI veneer over an existing ISA device, and shut up about them, too. Make autoconfiguration text conform more to the style of other supported buses.
* Submitted by: Wolfgang Stanglmeier <wolf@dentaro.GUN.de> + Stefan Esser <se>se1994-09-011-0/+598
Directory for PCI autoconfigure and device driver code.
OpenPOWER on IntegriCloud