summaryrefslogtreecommitdiffstats
path: root/sys/pci
Commit message (Collapse)AuthorAgeFilesLines
* Read the board revision and trim cache line size back from 16 to 1mjacob1999-04-041-8/+71
| | | | | for early revision 2100 boards. Make sure to turn ROM off for these boards.
* Import PCI pccard bridge chip probing from PAO. Hopeful prelude fornsayer1999-04-012-13/+44
| | | | | | | broadening chipset support in -current. Reviewed by: joerg Obtained from: PAO
* Make the Macronix driver work on FreeBSD/alpha and add to GENERIC.wpaul1999-04-012-23/+72
| | | | | | | Like the PNIC, we have to copy packet headers in the receive handler because the chip will only DMA to longword aligned buffers. Also do some mindor cleanups.
* Shorten device names so that the pci probe lines don't exceed 80 charswpaul1999-03-311-12/+15
| | | | | | | and wrap to a second line. Put 'command never completed' message inside #ifdef DIAGNOSTIC/#endif to stop people worrying about it (it's harmless).
* Add support for bridging to if_tx.cnsayer1999-03-311-1/+43
| | | | | PR: 10534 Submitted by: nsayer
* Insert ifmedia_set() that I forgot and put in the vtophys() hack forwpaul1999-03-312-3/+10
| | | | | | the alpha. Now the ThunderLAN driver works on the alpha (both my sample cards check out.) Update the alpha GENERIC config to include ThunderLAN driver now that I've tested it.
* Fix a line wrap bogon.wpaul1999-03-301-3/+4
|
* Various updates for the ThunderLAN driver:wpaul1999-03-302-129/+110
| | | | | | | | | | | | | | | | | | | - When trying to map ports, if mapping TL_PCI_LOIO or TL_PCI_LOMEM fails, try mapping the other one. Apparently, some ThunderLAN parts swap these two registers while others don't. - Add support for bitrate (non-MII) PHYs. If no MII-based PHY is found, program the chip for bitrate mode. This is required for the TNETE110 part, which doesn't have MII support. (It's also obsolete, but there are still some people out there who have them.) With this change and the change above, the Compaq Netflex-3/P 10baseT/BNC board works correctly. (Thanks to Matthew Dodd for getting me one of these cards.) - Convert to bus_space_foo() for register accesses. - Add changes to support FreeBSD/Alpha. I still have to actually test this in my Alpha box so I'm not going to update /sys/alpha/conf/GENERIC yet.
* Add support for SiS 5591/5595 chipset.grog1999-03-281-3/+224
| | | | | | | | | | | | | Contributed-by: "Richard Seaman, Jr." <dick@tar.com> Tested-by: Chris Piazza <cpiazza@home.net> Tugrul Galatali <tugrul@ianai.BlackSun.org> grog This code includes lots of stuff for verbose probing. I'm not 100% sure that the output of the verbose probe is correct, but everything else works fine, and -CURRENT was broken for the 5591 before, so I'm committing it anyway.
* Cleaning up of code, remove unneeded cruft and maken_hibma1999-03-272-127/+90
| | | | code more compact.
* Make the xl and pn drivers work on FreeBSD/alpha and add them towpaul1999-03-274-64/+118
| | | | | | | | | | | | | | | sys/alpha/conf/GENERIC. Note: the PNIC ignores the lower few bits of the RX buffer DMA address, which means we have to add yet another kludge to make it happy. Since we can't offset the packet data, we copy the first few bytes of the received data into a separate mbuf with proper alignment. This puts the IP header where it needs to be to prevent unaligned accesses. Also modified the PNIC driver to use a non-interrupt driven TX strategy. This improves performance somewhat on x86/SMP systems where interrupt delivery doesn't seem to be as fast with an SMP kernel as with a UP kernel.
* enable 1080 LVD supportmjacob1999-03-251-21/+19
|
* Check whether the PIRQD enable bit is set in LegSup and if not, set it.n_hibma1999-03-231-8/+17
| | | | | On my PIIX4 chip rev 1 this is required. Have not had any complaints from other people so it might be a problem with this stepping.
* Add support for the 3950U2B controller.gibbs1999-03-231-1/+16
| | | | | | | | Recognize aic7895 controllers that have been "acquired" by a RAIDPort card as normal aic7895s. Recognize the aic7815 Raid Parity/Memory controller chip and notify the user that it's RAID functionality will be ignored.
* Turn on PCI bus mastering in driver attach routinewes1999-03-201-1/+10
| | | | | | | | to avoid hanging the system if the BIOS has not initialized the interface. PR: 10150 Reviewed by: dg
* MF22... add bridging support to the device drivers. Without thisluigi1999-03-172-19/+65
| | | | bridging cannot work on -current/releng3!
* Prep for 1080/1240 support. Those fine h/w engineers at Qlogicmjacob1999-03-171-80/+185
| | | | | | gave yet another internal register layout model for what is *still* the same architecture. I hope they saved billyuns of gates 'coz otherwise this is *really* annoying.
* Merge NetBSD 1.80->1.82 changes from vendor branch into mainline.peter1999-03-141-18/+20
|
* Implemented workaround for EPIC's Application Note 7-15 (concerningsemenu1999-03-142-103/+241
| | | | | | | | | | | | | chip int. and ext. clock synchronisation). Fixed workaround for transmit threshold underrun. Added volatile keyword to CSR_READ_* and CSR_WRITE_* macroses. Added DELAYs to eliminate randomness caused by processor speed. Fixed all TXCON and RXCON registers to be accessed only when chip is idle, as manual told. Changed epic_init_phy to drop link by isolating and going loopback, should should force link partner to restart autonegotiation. PR: kern/10535, kern/9742, kern/10575 Submitted by: Peter Jeremy, David Greenman
* set if_snd.ifq_maxlen to something reasonable - note that if_de.c haspeter1999-03-131-1/+5
| | | | | | | a wierd double-queue arrangement.. It always empties the if_snd queue then puts the transmit packets into a different queue that is limited by the number of TX descriptors and does it's own discards... This should stop the boot-time XXX warning anyway.
* Fix Typo.phk1999-03-121-2/+2
|
* Make even more of the PPSAPI implementations generic.phk1999-03-111-51/+28
| | | | | | | | FLL support in hardpps() Various magic shuffles and improved comments Style fixes from Bruce.
* Fix from author of the driver:andreas1999-03-091-3/+3
| | | | | | | | | | | | | | | | | | The i++ loop from 1..1000 is too small on very fast machines like PII 450 MHz. Increasing the loop from 1..100000 lets the machine access PHY. After this patch it's possible to use a SMC PCI card on a HP Kayak XA series PC Workstation. Workaround until this fix was to enable debugging in the driver (#define EPIC_DEBUG 1). Without that patch you get an undefined state: while true do ifconfig -a | grep status: done The status messages flaps between twwo values, but not "connected". Obtained from: Ustimenko Semen <semen@iclub.nsu.ru>
* Add untested code to support the aha2930U2W.gibbs1999-03-051-16/+25
| | | | Modify to deal with changes in the storage of user negotiation settings.
* Fix handling of IFF_ALLMULTI. The code did not callluigi1999-03-011-2/+4
| | | | | | tulip_addr_filter() on SIOCSIFFLAGS, and was nuking the IFF_ALLMULTI on entering tulip_addr_filter(). As a result it was impossible to run a multicast router on a machine with a "de" interface.
* Remove call to DELAY() from xl_wait(), since xl_wait() is in thewpaul1999-02-261-3/+2
| | | | | interrupt handler codepath. Having the delay there didn't really accomplish much anyway.
* Add PCI device ID for the PNIC II.wpaul1999-02-262-3/+6
|
* My changes:roger1999-02-251-44/+115
| | | | | | | | | | | | | Added autodetection of MMAC Osprey 100 card for Jan Schmidt <mmedia@rz.uni-greifswald.de>. The MMAC card has an EEPROM which contains an ASCII string beginning with "MMAC". Corrected Hauppauge Audio Mux Mute value from 0x01 to 0x04. Fixed a typo. Sumitted change: Added ALPS Tuner Type submitted by Hiroki Mori <mori@infocity.co.jp> Submitted by: Roger Hardiman and Hiroki Mori <mori@infocity.co.jp>
* Add support for still more cheapo 10/100 cards: Delta Electronics andwpaul1999-02-234-15/+64
| | | | | | | | | | Addtron appear to have their own VIA Rhine II and RealTek 8139 boards with custom PCI vendor and device IDs. This commit updates the PCI vendor and device lists in the vr and rl drivers so that we can probe the additional devices. Found by: nosing around the PCI vendor and device code list at: http://www.halcyon.com/scripts/jboemler/pci/pcicode
* Dangit... made a typo in the NEXPTR register definition (0x55 -> 0x45).wpaul1999-02-231-2/+2
|
* Minor updates for the ASIX AX88141, which is a newer version of thewpaul1999-02-232-10/+24
| | | | | | | | | | AX88140A with power management and magic packet support. Correct the addresses of the PCI power management registers and add some code to detect the revision ID of the AX88141 and identify it in the probe messages. No other changes are needed since the AX88141 is functionally identical to the AX88140A.
* Add support for Compaq ProLiant 1200 host to PCI bridge.dfr1999-02-211-1/+16
| | | | | Obtained from: 2.2 branch Reviewed by: Benjamin Lewis <bhlewis@gte.net>
* Moved [uo]hci_pci.c from /sys/dev/pci to /sys/pci after Sorenn_hibma1999-02-182-0/+458
| | | | | | | threatened to send Bruce. These files are no longer shared with NetBSD anyway. Requires a config and make depend.
* Undo Nicolas' changes (1.91->1.92, added USB controller in pcisupport.c).n_hibma1999-02-181-3/+1
| | | | Please don't.
* Add alpm.c, Aladdin Power Management SMBus support for the SMBus framework.nsouch1999-02-132-1/+688
| | | | Update pcisupport.c with NALPM and Aladdin USB detection printf.
* Improved reporting of autodetected speed and duplex.julian1999-02-121-21/+48
| | | | | | | | Now should be able to report speed for cards using NatSemi PHY. (if you have one please let me know if it works as I only have the Intel version) Reviewed by: David Greenman <dg@root.com>
* Do not issue RX and TX reset commands in xl_stop() and xl_init(). On thewpaul1999-02-111-2/+6
| | | | | | | | | | | | | | 3c905B, the RX and TX reset commands also reset the cyclone chip's internal PHY, which causes it to restart its autonegotiation session. This takes a second or two to complete, which makes the interface seem to stop responding for a few seconds every time you do something that reinitializes it. Issuing the RX and TX resets on the older 3c905 boomerang adapters doesn't cause any delay because the boomerang chip requires an external PHY. This should fix the problem where people doing network installs via 3c905B cards experience a delay after the interface is first initialized, among other things.
* Define more registers and fix incorrect (but unused) register bit definitions.julian1999-02-111-10/+29
|
* Define more registers in the PHY unit and use them to report backjulian1999-02-112-9/+82
| | | | | | the result of the media auto negotiation. Reviewed by: David Greenman <dg@freebsd.org>
* Added ioctl REMOTE_GETKEY for Hauppauge Infra-Red Remote Control.roger1999-02-111-17/+103
| | | | | | | | | | | | | | Submitted by Roger Hardiman. Added ioctl TVTUNER_GETCHANSET to discover which regions the bktr driver supports. Submitted by Vsevolod Lobko <seva@alex-ua.com> Added BT848_GPIO_SET_EN,BT848_GPIO_SET_DATA (and GETs) to allow user land control of the GPIO pins. This allows a Radio module on the GPIO port to be controlled. Submitted by Vsevolod Lobko <seva@alex-ua.com> The kernel option BKTR_GPIO_ACCESS must be used to enable the GPIO ioctls. Submitted by: Roger Hardiman and Vsevolod Lobko <seva@alex-ua.com>
* Set the ultra enable bits in the adaptor's scratch ram area only aftergibbs1999-02-111-20/+19
| | | | we finish modifying our in kernel version during seeprom configuration.
* Cleanup. Set all PCI parameters of importance. Set a define that willmjacob1999-02-091-15/+105
| | | | allow us via config options prefer mem space to I/O space.
* Added detection for bt848a chipsroger1999-02-081-5/+11
|
* Added check to bktr_mmap() from OpenBSD driver.roger1999-02-081-46/+83
| | | | | | | | Improved MSP34xx reset for bt848 Hauppauge boards. Added detection for Bt848a. Vsevolod Lobko<seva@sevasoft.alex-ua.com> added more XUSSR channels. Submitted by: parts from Vsevolod Lobko<seva@sevasoft.alex-ua.com> Obtained from: parts from OpenBSD
* Back out rev 1.89. The #include is necessary for the #if that testspeter1999-02-061-2/+2
| | | | | | the value that config(8) provides when intpm is configured. It seems that somebody forgot to rerun config at the time and commented this out instead.
* Remember to initialize ifp->if_snd.ifq_maxlen.wpaul1999-02-018-18/+24
|
* roll internal release tagmjacob1999-01-301-2/+2
|
* Removed a bogus cast to v_caddr_t. This is part of terminatingbde1999-01-291-2/+2
| | | | | | | v_caddr_t with extreme prejudice. Here the bogons were originally the same as for c_caddr_t (half-baked K&R support), but rev.1.95 changed one wrong cast and one harmless cast to 2 wrong casts, and rev.1.96 only fixed the originally wrong cast.
* Removed bogus casts to c_caddr_t. This is part of terminatingbde1999-01-291-4/+3
| | | | | | c_caddr_t with extreme prejudice. Here the original casts to caddr_t were to support K&R compilers (or missing prototypes), but the relevant source files require an ANSI compiler.
* Support for MSP3410D / MSP3415D Stereo/Mono audio using the audio formatroger1999-01-281-16/+356
| | | | | | | | | | | | | | | Auto Detection Mode. This leaves MSP3400C owners still unsupported. Thanks to Gerd Knorr <kraxel@cs.tu-berlin.de> for providing some early assistance and sample code in the linux bttv driver. Nicolas Souchu <nsouch@freebsd.org> ported the msp_read/write/reset functions to smbus/iicbus. METEOR_INPUT_DEV2 now selects a composite camera on the SVIDEO port. For true SVIDEO, use METEOR_INPUT_DEV_SVIDEO. If you get a monochrome image from the SVIDEO port, you have seleted the wrong input type. Tested by: Johan Larsson<gozer@ludd.luth.se>
OpenPOWER on IntegriCloud