summaryrefslogtreecommitdiffstats
path: root/sys/pci
Commit message (Collapse)AuthorAgeFilesLines
* Fix compiler warnings (systm.h wasn't included).bde1995-07-161-1/+6
|
* Put back second case of CC handler in NCR script.se1995-07-071-3/+6
|
* Add PCI Id for the 3940 controller.gibbs1995-07-041-2/+9
|
* Changes to support some CDROM drives and the Quantum Grand-Prixse1995-06-281-42/+69
| | | | | | | | series of hard disk drives, which don't accept any SCSI message within an REQUEST SENSE command (i.e. even not an IDENTIFY to set the LUN). This patch obviates the need for QUIRK_NOMSG and thus all of the device_tab[] entries in the NCR driver.
* 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).
* Give more detailed information about the type of bridge devicesse1995-06-281-1/+11
| | | | found when probing the PCI bus.
* 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.
* Corrections and additions to the PCI chip set configurations log.se1995-06-281-7/+21
| | | | Submitted by: "Danny J. Zerkel" <dzerkel@feephi.phofarm.com>
* Fixed bug that was fixed in 1.28.2.1/1.29 a little differently; thedg1995-06-281-4/+5
| | | | | | difference is more or less cosmetic. Submitted by: Matt Thomas
* Merge RELENG_2_0_5 into HEADrgrimes1995-06-112-4/+11
|
* Remove trailing whitespace.rgrimes1995-05-308-65/+73
|
* Fixed bugs in multicast address handling (flag was set in wrong register,dg1995-05-261-266/+427
| | | | | | | | | | | etc.). The tulip_start routine was rewritten to use less stack space (I've been having problems with wcarchive overflowing the stack and this should help a little). This version also has preliminary NetBSD support. Rod Grimes helped in testing this version of the driver. Thanks Rod. It's additionally been extensively tested here and on wcarchive. Submitted by: Matt Thomas
* There are two serious bugs in if_de.c. The first should not matterdg1995-05-221-3/+4
| | | | | | | | | | to most users (the wrong length is passed to ether_input). The second is more serious. The multicast hash algorithm uses the wrong (low) bits instead of the right (high) bits. This is only an issue if you use >12 multicast addresses but if you are using IP multicast then it might affect you... Submitted by: Matt Thomas
* Fixed bug in bpf/multicast support that caused multicast packets to getdg1995-05-221-7/+5
| | | | | | | | thrown out if bpfilter support and no BPF listener. (submitted by Bill Fenner) Removed unused variable and changed another from a stack variable to a static - the variable was a rather large array of structs that consumed a lot of stack space. (me)
* Fixed mbuf leak and panic that occurred when packets got too memorydg1995-05-052-103/+327
| | | | | | | | | fragmented. Added support for Cogent em100 boards. Fixed bug that caused BPF to toggle the card to UTP. Various other improvements. Submitted by: Matt Thomas and David Greenman
* bzero the malloced pci_devconf structure. This should fix the problem withdg1995-05-041-1/+2
| | | | several of freefall's recent crashes.
* Matt says that no pre-2.3 pass boards were supposed to ship, but I certainlyjkh1995-04-181-3/+3
| | | | | | | got a 2.2 version DC21040 chip in my SMC ethernet card! He suggests bumping the check all the way down to 2.0 since it's pre-2.0 we're actually guarding against. Submitted by: Matt Thomas <matt@lkg.dec.com>
* Changed minimum supported rev of DC21040 to pass 2.2.dg1995-04-171-3/+3
|
* kernel.h -> sys/kernel.hgibbs1995-04-151-2/+2
|
* Various changes from Matt Thomas to improve media selection and fixdg1995-04-132-107/+257
| | | | support for the DC21140.
* From Matt Thomas: Added support for 100Mb cards (such as the DEC DE-500-XAdg1995-04-092-139/+381
| | | | and SMC 9332).
* From Matt Thomas: Finished EISA support.dg1995-04-051-56/+12
|
* Patch from Matt Thomas to fix mbuf leak in FDDI driver.dg1995-04-011-3/+10
|
* Mask the call to ahc_attach with an splbio/splx pair. This allows usgibbs1995-03-311-22/+47
| | | | | | | | | | to poll succesfully even if we are sharing the interrupt. Register the interrupt handler before the attach. This commit makes the 294x PCI shared interrupt compliant. This has been tested with an aic7870 motherboard controller and a 294x in the same machine shareing an irq.
* Include <stddef.h> for standard definition of offsetof() instead ofse1995-03-311-12/+4
| | | | defining it explicitly in the driver.
* Remove wrong redeclarations of printf() and bzero(). Include the correctbde1995-03-252-4/+16
| | | | header to declare DELAY().
* Make untested NS code at least compile so that it doesn't break LINT. Abde1995-03-251-4/+9
| | | | struct member had an old name.
* Forward-declare kern_devconf for use in a prototype. Some driversbde1995-03-251-1/+3
| | | | | | | | | | | | include <pci/pcivar.h> without including <sys/devconf.h> and other drivers include <pci/pcivar.h> before including <sys/devconf.h> if certain identifiers are defined. The devconf headers have convoluted interdependencies. <sys/devconf.h> includes <machine/devconf.h> which includes <pci/pcivar.h>. Most drivers include <sys/devconf.h> so even isa drivers depend on <pci/pcivar.h>. For similar reasons, most drivers depend on another pci header, on an isa header and on two scsi headers.
* 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).
* Set request sense data size from xp->req_sense_length if != 0.se1995-03-221-16/+24
| | | | Submitted by: Wolfgang Stanglmeier <wolf@kintaro.cologne.de>
* Remove use of unitialised variable xp->req_sense_length.se1995-03-221-3/+2
| | | | Submitted by: Wolfgang Stanglmeier <wolf@kintaro.cologne.de>
* Completely new PCI code:se1995-03-215-693/+1215
| | | | | | | | | | | | | | 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>
* Stylistic changes. Update Wolfgang's e-mail address.se1995-03-211-13/+12
| | | | Submitted by: Wolfgang Stanglmeier <wolf@kintaro.cologne.de>
* Silence "gcc -Wall".se1995-03-211-1/+15
| | | | Submitted by: Wolfgang Stanglmeier <wolf@kintaro.cologne.de>
* Cosmetic changes.se1995-03-212-9/+16
| | | | Submitted by: Wolfgang Stnglmeier <wolf@kintaro.cologne.de>
* Major cleanup: Stylistic changes, 386BSD specific code removed.se1995-03-211-336/+217
| | | | | | Adaptec to new PCI code. Submitted by: Wolfgang Stnglmeier <wolf@kintaro.cologne.de>
* Added a new field to the pci_device struct called pd_shutdown to specifydg1995-03-177-19/+56
| | | | | | | 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.
* Prepare for shared interrupts (required by the new PCI code that addsse1995-03-161-2/+6
| | | | | | support for PCI PCI bridges, e.g. found on 4ch. Ethernet cards). Submitted by: Wolfgang Stanglmeier <wolf@kintaro.cologne.de>
* Make ncr.c compile again (PRINT_ADDR() had been patchedse1995-03-161-3/+3
| | | | | | into the middle of a printf() by a buggy diff ...). Submitted by: rgrimes
* Conditionalise debug message.se1995-03-151-3/+3
| | | | Submitted by: Peter Dufault <dufault@hda.com>
* Added support for generic FDDI and the DEC DEFEA and DEFPA FDDI adapters.dg1995-03-144-0/+3681
| | | | Submitted by: Matt Thomas
* Reduce burst length to 4 DWORDs for now, since there seem tose1995-03-031-4/+5
| | | | | | be 486 chip sets that can't tolerate bursts > cache line size. This should really made dependent on the particular buggy chip sets, but for now we'll play safe ...
* Disable vga_attach() code, as it always should have been.se1995-03-021-2/+2
|
* Speed up PCI attach code by ommiting test if its result is ignored anyway.se1995-03-021-13/+15
|
* Add code to deal with PCI-PCI bridge chips, especially the DEC 21050.se1995-02-271-4/+43
| | | | | | | | | Try to deduce maximum number of PCI buses in system (working around chip set bugs). Better check for devices at multiple addresses (aliases). Reviewed by: se Submitted by: <wolf@kintaro.cologne.de> Wolfgang Stanglmeier
* First try to add support for PCI-PCI bridge chips (written for these1995-02-272-23/+90
| | | | | | | | | 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
* Delete bogus semicolon in macro definition.se1995-02-271-3/+3
|
* Make people happy, who claim to better know how "interupt"se1995-02-251-37/+46
| | | | | | is to be spelled :). 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
* Cleanup for compatibility with another OS.se1995-02-221-43/+47
| | | | Submitted by: wolf
OpenPOWER on IntegriCloud