summaryrefslogtreecommitdiffstats
path: root/sys/pci
Commit message (Collapse)AuthorAgeFilesLines
* Fixed missing ioport offset from the reading/updating of the PLXdg1997-02-051-1/+1
| | | | | | interrupt control/status register. Submitted by: Brian McGovern <bmcgover@cisco.com>
* Fix misspelled variable name, -current build stopperache1997-02-051-1/+1
|
* Add interface revision field to pci_register_lkm parameter list.pci.c pcibus.hse1997-02-042-2/+6
| | | | | | | This parameter is intended to allow new kernels to work with old LKM binaries, provided the revision ID is incremented whenever the PCI LKM interface is changed. The revision ID does not at all protect against changes in data structures accesses by the driver.
* Changed several configuration options:dg1997-02-041-7/+7
| | | | | | | Disabled the DMA byte counters - I had it this way originally and this is the recommended setting. Set crscdt to CRS only (0) since this is what it should be for an MII PHY. Also fixed some comments.
* Do "selective" reset rather than full reset...the manual specificallydg1997-02-042-3/+8
| | | | | | says not to do the full reset because it can lock up the PCI bus if the chip is active. Added various PORT command definitions to facilitate this.
* Don't include the short-frames counter in with the input errors. Thisdg1997-02-041-3/+1
| | | | | counter is incremented on all short frames, including those that are the result of collisions.
* Add 1997 to my copyright.gibbs1997-01-291-5/+7
| | | | | Change the autotermination code slightly to be more careful on narrow adapters.
* Remove element pb_maxirq from struct pcibus.se1997-01-251-1/+0
|
* Improve on previous fix: Clean up getirq() as well, and remove redundantse1997-01-251-9/+8
| | | | warning messages.
* Add the definition for the CFAUTOTERM bit in the aic78xx SEEPROM.gibbs1997-01-241-7/+163
| | | | | | | | | | | | Add auto-termination support as well as support for setting the high byte termination. Booting with '-v' will display the settings that the driver chose. If you stick narrow devices onto the external wide port, you had better make sure that your converter cable terminates the bus, you have a wide device on there that terminates the bus, or you manually set the termination properly in SCSI-Select instead of using "Automatic". The code will get the setting right regardless if you *don't* have internal wide devices in this type of configuration. Unfortunatly this is a limitation of the design of the Adaptec cards.
* Make IRQ 0 invalid in pci_map_int(), since it is hardwired to these1997-01-231-1/+1
| | | | programmable interval timer chip in PC systems.
* Be smarter about enabling memory mapped I/O. The AHC_ALLOW_MEMIO optiongibbs1997-01-221-6/+8
| | | | | | should not be required anymore. Turn on ULTRA for cards that don't have a BIOS or SEEPROM.
* Add PCI LKM support:se1997-01-211-0/+2
| | | | | The new function pci_register_lkm (struct pci_device *dvp) appends the driver to the list of known PCI drivers, and initiates a PCI bus rescan.
* Add PCI LKM support.se1997-01-212-290/+392
|
* This mega-merge brings Matt Thomas' 960801 FDDI driver (almost) upjoerg1997-01-175-3649/+11
| | | | | | | | | | | | | to -current. Thanks goes to Ulrike Nitzsche <ulrike@ifw-dresden.de> for giving me a chance to test this. Only the PCI driver is tested though. One final patch will follow in a separate commit. This is so that everything up to here can be dragged into 2.2, if we decide so. Reviewed by: joerg Submitted by: Matt Thomas <matt@3am-software.com>
* This commit was generated by cvs2svn to compensate for changes in r21826,joerg1997-01-171-0/+472
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Finally import the 960801 of Matt Thomas' DEC FDDI driver. I'mjoerg1997-01-171-0/+472
| | | | | | | | | | | | | | | | | | | | importing it onto a vendor branch first, in the hope that this will make future maintenance easier. The conflicts are (hopefully) unimportant. More commits that actually bring this into the source tree will follow. Submitted by: Matt Thomas (thomas@lkg.dec.com)
| * This commit was manufactured by cvs2svn to create branch 'MATT_THOMAS'.cvs2svn1995-03-1416-14492/+0
| |
* | Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-1426-27/+31
| | | | | | | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* | Use the new if_multiaddrs list for multicast addresses rather than thewollman1997-01-133-99/+79
| | | | | | | | | | | | | | previous hackery involving struct in_ifaddr and arpcom. Get rid of the abominable multi_kludge. Update all network interfaces to use the new machanism. Distressingly few Ethernet drivers program the multicast filter properly (assuming the hardware has one, which it usually does).
* | Fix typo..sos1997-01-061-3/+3
| |
* | Fix NetBSD pr kern/3067, which also applies to FreeBSD:se1997-01-051-3/+3
| | | | | | | | | | | | | | | | | | NCR driver dies when "xmcd" accesses the CD-ROM drive Restrict cacheing of INQUIRY results to LUN 0. Thanks to Dave Huang <khym@bga.com> for reporting the problem and suggesting a fix, though I chose a slightly different one.
* | Add Intel VX chip set specific detection and register dump code.se1997-01-021-1/+56
| | | | | | | | Submitted by: brianc@netrover.com (Brian Campbell)
* | Don't redefine SCSI_NCR_DFLT_TAGS even in if FAILSAFE is defined.bde1996-12-231-4/+6
| |
* | Improve negotiation messages:se1996-12-211-8/+8
| | | | | | | | | | Print MB/s instead of MHz (now takes WIDE into account). Remove extranous "\n" from WIDE negotiation messages.
* | Add PCI IDs of the ProLAN and Compex PCI NE2000 clones.se1996-12-211-8/+11
| | | | | | | | Based on information sent by Peter Mutsaers <plm@xs4all.nl>.
* | Fix bug that would stop probing for SCSI devicesse1996-12-201-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | after the first found, if multiple LUNs are tried. Change probe message to just the SCSI chip id, similar to what the NCR driver prints. Change the driver name to "amd" in all places. Thanks to Nick Sayer <nsayer@quack.kfu.com> for doing some debugging, for sending a boot message log that shows the driver is functional, and for pointing out there still were places that needed the driver name to be corrected.
* | Add include of <vm/pmap.h> to make this driver compile under -current.se1996-12-181-13/+4
| | | | | | | | | | Cleanup to make it compile cleanly in LINT. Submitted by: bde
* | Rename DIAGNOSTIC to DMA_DIAGNOSTIC.se1996-12-181-1/+1
| | | | | | | | Submitted by: bde
* | Add code to fill the EEPROM buffer with default values, if no EEPROMse1996-12-181-1/+22
| | | | | | | | | | | | | | was found, or if there was a checksum mismatch. This patch should allow the driver to be used with any AMD 53c974 based SCSI card, or with the AMD SCSI+Ethernet Combo Chip found on some motherboards.
* | Make compile under FreeBSD-current (3.0-DEVELOPMENT).se1996-12-181-3/+8
| |
* | Fix "opt_ncr.h" changes:se1996-12-161-7/+9
| | | | | | | | | | - put #include into #ifdef KERNEL or ncrcontrol won't build - rename SCSI_DEBUG_FLAGS to SCSI_NCR_DEBUG
* | This commit was generated by cvs2svn to compensate for changes in r20537,se1996-12-153-0/+3839
|\ \ | | | | | | | | | which included commits to RCS files with non-trunk default branches.
| * | Tekram supplied driver for their DC390 and DC390T controllers.se1996-12-153-0/+3839
| / | | | | | | | | | | | | | | | | | | | | | | These controllers are based on the AMD 53c974, and the driver does only support those two cards, since it checks for a Tekram specific configuration EEPROM. This deficiency (TM) will be fixed soon ... :) This code is: (C)Copyright 1995-1996 Tekram Technology Co., Ltd. Obtained from: Tekram
* | Fix typose1996-12-151-3/+3
| |
* | Include "opt_ncr.h" for option settings.se1996-12-151-3/+5
| |
* | Do not limit to 1 LUN if FAILSAVE is set. Seems that CDROM drivesse1996-12-151-5/+2
| | | | | | | | | | are now only probed for LUN 0, unless there is a specific entry in scsi_conf.c.
* | General cleanup and new features for 53c875 based cards, especially these1996-12-142-80/+232
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tekram DC390W/U/F, whose config EEPROM can now be dumped, if the kernel is built with option NCR_TEKRAM_EEPROM. Other changes: - add brackets to expansion of OUTB/W/L macro arguments. - remove unused NCB structure element ns_async - support sync. SCSI offset of 16 (instead of only 8) on 825A and 875 - correctly identify 53c810A and 53c825A chips - preserve SCSI BIOS settings of PCI performance options - remove (already disabled) support for NCR reset because of command timeout - reverse order of reading of SCSI and DMA specific interrupt cause registers - add definition of Tekram config EEPROM contents (not currently used)
* | Close PR#2198:jkh1996-12-131-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | I've added an installation from optical disk drive facility. This enables FreeBSD to be installed from an optical disk, which may be formatted in "super floppy" style or sliced into MSDOS-FS and UFS partitions. Note: ncr.c should be reviewed by Stefan Esser <se@freebsd.org> and cd.c by Joerg Wunsch <joerg@freebsd.org> before bringing this into 2.2. Submitted-By: Shunsuke Akiyama <akiyama@kme.mei.co.jp>
* | 1) Implement SIOCSIFMTU in ether_ioctl(), and change ether_ioctl's returndg1996-12-101-92/+15
| | | | | | | | | | | | | | | | | | type to be int so that errors can be returned. 2) Use the new SIOCSIFMTU ether_ioctl support in the few drivers that are using ether_ioctl(). 3) In if_fxp.c: treat if_bpf as a token, not as a pointer. Don't bother testing for FXP_NTXSEG being reached in fxp_start()...just check for non-NULL 'm'. Change fxp_ioctl() to use ether_ioctl().
* | Some imporvemnets to the vx driver.guido1996-12-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | 1. 'connector_table' is shortened to 'conn_tab'. 2. More reliable connector change code. 3. Display message like "vx0: selected bnc. (link1)" when the connector changed by link[012]. 4. Handle MII properly. 5. Potentially slightly better performance. 6. Fixed a silly typo. Submitted by: Naoki Hamada <nao@sbl.cl.nec.co.jp>
* | Cosmetic code cleanup from Matt's latest driver.rgrimes1996-12-013-386/+383
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a) Removal of private typedefs tulip_uint*_t, use standard u_int_*_t. b) Change [Dd][Cc]21.4. to just 21.4., seems Dec has done this to all of the drivers for all OS's. (Did they get in trouble with someone?) [The few that remain can either not be eliminated, or are waiting for additional driver functional changes that will remove them.] c) Move some code from dc21040.h into the driver, later a whole block of that code and more will move to devar.h, but for now this makes it easier to study diffs. d) Add a big bold comment to the README.de file about it not reflecting reality anymore. Note that these are all cosmetic changes and should be no functional change in the driver whatsoever. If _anyone_ spots a problem introduced by this please let me know ASAP!
* | Fixed obsolete comment.dg1996-11-181-3/+2
| |
* | AHC_FORCE_PIO -> AHC_ALLOW_MEMIOgibbs1996-11-161-2/+2
| |
* | Some more updates.asami1996-11-141-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | wdreg.h: Delete wd_ctlr macro. PC98 version of wd.c treats it as a variable. GENERIC98: Delete ep0 entry. Current ep driver write I/O port 0x100. This clobbers ICW of i8259, because upper 8bits of address line is not masked on mother board. if_fe.c: Merge from revision 1.18 of sys/i386/isa/if_fe.c. pc98.c: Globalize dmapageport, because SCSI driver use this variable. wd82371.c: Yet another merge. These are 2.2 candidates. Submitted by: The FreeBSD(98) Development Team
* | Oops I forgot to add the official id for this card.jhay1996-11-131-2/+3
| |
* | Add support for header type == 1 devices (PCI 2.1 compatible PCI to PCIse1996-11-123-4/+11
| | | | | | | | | | | | | | | | bridges with support for 64 bit memory addresses and 32 bit I/O addresses). The code is not complete. It ignores the upper half of the long addresses. This is not a problem on PC compatible systems, but has to be fixed for real computers.
* | Fix PCI to PCI bridge register bit field masks.se1996-11-122-36/+11
| | | | | | | | | | Thanks to "Mike Durian" <durian@plutotech.com> for the very good problem report and his support as a beta tester of this patch.
* | Clean up the memory mapped/Programmed I/O stuff so that the driver completelygibbs1996-11-111-69/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | uses one or the other. This required some changes to the ahc_reset() function, and how early the probes had to allocate their softc. Turn the AHC_IN/OUT* macros into inline functions and lowercase their names to indicate this change. Geting AHC_OUTSB to work as a macro doing conditional memory mapped I/O would have been too gross. Be smart about the STPWEN control bit in SCFRCTL1. It should only be set if the low byte of the bus is to be terminated. We figure this out either by "caching" the value left over from the BIOS setup before we reset the card or by using the values stored in the seeprom if it is availible.
* | Put the packet error printf inside #ifdef DIAGNOSTIC.dg1996-11-101-1/+3
| |
OpenPOWER on IntegriCloud