summaryrefslogtreecommitdiffstats
path: root/sys/pci
Commit message (Collapse)AuthorAgeFilesLines
* Fix typo in an unused macro.mux2003-01-291-1/+1
|
* Migrate the PCI bus logic for ohci and uhci from sys/pci to sys/dev/usb.joe2003-01-292-707/+0
|
* Add PCI revision number for 630A and 900B. Enable parity error detectionmbr2003-01-282-19/+86
| | | | | | | | | | on 900B and 635(A). Re-add the enhanced PHY access register method again for older chipsets, they do not seem to work with all old chips. Reviewed by: phk MFC after: 7 days
* Remove the now unused sys/malloc.h header.mux2003-01-241-1/+0
|
* Correctly identify the 3C920B chipset; although it may ship with some Nforce2silby2003-01-222-5/+5
| | | | | | boards, it's definitely not an Nvidia chip. Info from: Nvidia's Linux Network driver & pciids.sourceforge.net
* Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0.alfred2003-01-2119-65/+65
| | | | Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
* Complete the support of the on-board xl(4) on nVidia nForce2 mobo's.obrien2003-01-191-0/+3
| | | | Submitted by: Mikko S. Hyvarinen <morphy@morphy.iki.fi>
* Make the xl driver work on sparc64:tmm2003-01-192-67/+100
| | | | | | | | | | | | | | | | - Add conversions to/from little endian for fields that the NIC accesses by DMA as required. - Add some bus_dmamap_sync() calls, and correct some existing ones. - Read the receiver information from the EEPROM in an endian-neutral manner. - Load all RX and TX descriptors in a single DMA map up front, and get the bus addresses of individual descriptors by address arithmetic; this fixes multiple use of the descriptor tags, which would have undesired effects. It seems that xl still does not work on e250 boxen, for reasons which are not clear yet. Reviewed by: mux
* Remove bogus locking from dc(4). Instead, move interrupt allocationnjl2003-01-141-42/+34
| | | | | | | | and ether_ifattach() to end. This fixes a "could sleep" case and simplifies error exit cases as well. Also be sure to set errno and clean up resources in !mac error case. Tested by: Ryan Beasley
* Partial support for the nVidia nForce2 chipset's on-board Broadcom/Altima PHYobrien2003-01-122-0/+3
| | | | | | | and 3com MAC. Specifications for the Altima PHY are available at: http://www.altimacom.com/products/ac101L.html Submitted by: Mikko S. Hyvarinen <morphy@morphy.iki.fi>
* Add support for the Intel 82820 UP-only AGP bridge.anholt2003-01-111-0/+4
| | | | | | PR: 41466 Submitted by: NIIMI Satoshi <sa2c@sa2c.net> MFC after: 1 week
* FBSDIDize and clean up whitespace nits.des2003-01-111-30/+25
|
* Read sanpei's mind, and unbreak the build.des2003-01-111-2/+3
|
* Add support for Corega FEtherII CB-TXD (CardBus 100M/10M).sanpei2003-01-112-4/+14
| | | | Fix typo (Coreaga->Corega)
* Make newer integrated SiS900 cards working.mbr2003-01-102-2/+36
| | | | | | | | | | | Allow to read EEPROM from LAN. It is shared between a 1394 controller and the NIC and each time we access it, we need to set SIS_EECMD_REQ. Idea from: linux driver source Reviewed by: luoqi Obtained from: linux driver source (idea)
* Sis no longer implements the enhanced phy controlmbr2003-01-102-53/+262
| | | | | | | | | | register, and phy has to be directly accessed via mdio. Patch converted to CURRENT from STABLE. Submitted by: luoqi Reviewed by: luoqi (again) MFC after: 2 weeks
* SIS_CFG_EDB_MASTER_EN indicates the EDB bus is used instead ofmbr2003-01-102-3/+14
| | | | | | | | | the PCI bus. When this bit is set, the Max DMA Burst Size for TX/RX DMA should be no larger than 64 bytes. Reviewed by: luoqi Obtained from: (idea from linux driver source) MFC after: 2 weeks
* When reading PHY regs over the i2c bus, the turnaround ACK bitmbr2003-01-105-5/+5
| | | | | | | | | | is read one clock edge too late. This bit is driven low by slave (as any other input data bits from slave) when the clock is LOW. The current code did read the bit after the clock was driven high again. Reviewed by: luoqi MFC after: 2 weeks
* Add preliminary support for the Hawking PN672TX CardBus cards.imp2003-01-102-0/+15
| | | | | # Preliminary because there are some subtle things the NetBSD driver does # that we don't do yet. My card works for me w/o them.
* Add support for the Davicom DM9009 chipset.trhodes2003-01-092-0/+4
| | | | | | PR: 46859 Submitted by: Boaz Haberman <boaz@ool-182f8b09.dyn.optonline.net> Approved by: rwatson
* o Only try to recopy the mbuf into an mbuf cluster ifmux2003-01-071-13/+22
| | | | | | | | bus_dmamap_load_mbuf() returned EFBIG. o Fix mbuf leaks in an error (rare) code path. o Reuse the TX descriptor if xl_encap() failed instead of just picking the next one. o Better error messages.
* Ooops, use the full name of XL_FLAG_EEPROM_OFFSET_30silby2003-01-061-1/+1
| | | | Noticed by: Niels Chr. Bank-Pedersen <ncbp@bank-pedersen.dk>
* Add support for the 3c555 miniPCI chipset.silby2003-01-062-1/+9
| | | | | | Submitted by: johannes <johannes@paradise.net.nz> PR: 46603 MFC after: 3 days
* Add two MII_SETs to provide a bit more time between operations insilby2003-01-061-0/+2
| | | | | | xl_sync; this appears to be necessary with certain systems. Requested by: Michael Class <michael_class@gmx.net>
* Tweaks to make if_rl work on sparc64.jake2003-01-051-4/+10
| | | | | Mostly submitted by: tmm Tested on: i386, sparc64
* Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,schweikh2003-01-012-3/+3
| | | | especially in troff files.
* Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/schweikh2002-12-301-1/+1
| | | | Add FreeBSD Id tag where missing.
* Leave only one of the two $FreeBSD$ tag, and use __FBSDID().mux2002-12-301-6/+3
|
* Change the chip description from "DFE-550TX" to "DL10050".phk2002-12-232-4/+4
| | | | | The DL10050 chip is used on the 550TX and 580TX cards, probably others as well.
* - Hold the page queues lock around vm_page_wakeup().alc2002-12-231-0/+4
|
* Fix bug with 3c90xB cards and newer. We weren't trying tomux2002-12-181-39/+14
| | | | | | copy the mbuf chain into an mbuf cluster when there is more than 63 mbufs in the chain. We were trying with older cards though.
* Fix the missspelt letter in DC_CTYPE_PUP_AUTOSENSe define.semenu2002-12-181-1/+1
| | | | | Submitted by: marius@alchemy.franken.de MFC after: 3 days
* Convert the xl(4) driver to the busdma API. This should makemux2002-12-172-157/+300
| | | | | | | it possible to use this driver under ia64, sparc64 (though there may be endianness issues with this one) and other archs. Tested on: i386, alpha (gallatin)
* Move the amd(4) driver to it's own directory in preparation for it growingscottl2002-12-132-3033/+0
| | | | an sbus front-end.
* Correct a harmless problem when creating the DMA tagmux2002-12-131-1/+1
| | | | | | | | used to map mbufs. The maximum size should be MCLBYTES and not SIS_TX_LIST_SZ. This is probably a typo in the original commit. Tested by: cognet
* Xircom cards store the MAC address in the CIS, so get it from the newimp2002-11-271-2/+8
| | | | | | | | pci_get_ether accesor, which gets it from the CIS for cardbus cards (and from other pci-like buses via whatever mechanism is used there). Submitted by: sam Approved by: re (blanket)
* Fix handling of IFF_ALLMULTI. The same bug in various forms affectsluigi2002-11-251-9/+7
| | | | | | | | the following drivers: dc mn sf sk ste ti tl xl an bge em gem gx ie lge sr aue cue kue wi xe Approved by: re
* Import some relevant changes from Via's if_fet driver:silby2002-11-252-2/+29
| | | | | | | | | | | | | | | 1. Detect the revision of the Rhine chip we're using. 2. Use the force reset command on revisions which support it whenever the normal reset command fails. This should solve a wide range of "my vr0 locks up with reset failed messages" problems. (Although the root causes should be eventually tracked down.) Tested by: grenville armitage <garmitage@swin.edu.au> Obtained from: Via's if_fet driver MFC after: 3 days Approved by: re
* o track either_ifattach/ether_ifdetach API changessam2002-11-1413-217/+91
| | | | | | | | | | | o use if_input for input packet processing o don't strip the Ethernet header for input packets o use BPF_* macros bpf tapping o call ether_ioctl to handle default ioctl case o track vlan changes Reviewed by: many Approved by: re
* Remove a bunch of #include "opt_pci.h".mux2002-11-137-7/+0
|
* Fix an unparenthasized macro argument. md5s differ but this is likelyalfred2002-11-091-1/+1
| | | | to order of operations that are actually fixed by the proper parenthasizing.
* Fix instances of macros with improperly parenthasized arguments.alfred2002-11-092-13/+13
| | | | Verified by: md5
* Fix some sizeof(int) != sizeof(void *) warnings.jhb2002-11-081-2/+2
|
* Wrap a device_printf() that violates bus space abstractions to figure outjhb2002-11-081-0/+2
| | | | | if it's IO port resource is IO or memory mapped for the sake of a printf using i386-specific values in #ifdef __i386__.
* Use %z to print a size_t value.jhb2002-11-081-1/+1
|
* Use %z to print size_t values.jhb2002-11-081-3/+3
|
* Don't take out the rl_mtx lock in the attach routine. The only wayimp2002-10-291-19/+15
| | | | | we'd need it is if we're interrupted. So, register the interrupt last in the attach routine.
* Add some magic bits necessary to turn the transmitter on for somesilby2002-10-222-0/+10
| | | | | | | | | (newer) 556B chips. Requested & tested by: Dinesh Nambisan <dinesh@nambisan.net> Magic bits found by: Dave Dribin & Donald Becker MFC After: 3 days
* Use if_printf(ifp, "blah") and device_printf(dev, "blah") instead ofbrooks2002-10-212-33/+32
| | | | | printf("%s%d: blah", ifp->if_name, ifp->if_xname). This eliminates the need to store the unit number in the softc.
* Be consistent about functions being static.phk2002-10-165-20/+20
| | | | | | Properly put macro args in (). Spotted by: FlexeLint.
OpenPOWER on IntegriCloud