summaryrefslogtreecommitdiffstats
path: root/sys/pci
Commit message (Collapse)AuthorAgeFilesLines
* Add back 'n' that went missing in last commitimp2005-02-251-1/+1
|
* Fix style(9) issues with __P removal.imp2005-02-2414-584/+561
| | | | Noticed by: bde
* Return BUS_PROBE_DEFAULT instead of 0.imp2005-02-2428-37/+37
|
* Correct the SiS 755 PCI ID. Confirmed against Linux code.anholt2005-02-141-1/+1
| | | | | | PR: kern/76411 Submitted by: Jonathan Fosburgh, jonathan at fosburgh dot org Obtained from: Jung-uk Kim, jkim at niksun.com
* No use for this AMD64 special-case "return NULL;" in probe now that we don'tanholt2005-02-141-2/+0
| | | | do fake "generic" support.
* Adjust TX threshold on every TX underrun. Some supported cards (8139-based)mlaier2005-02-111-6/+10
| | | | | | | | | | | | can retransmit on TX underrun and set TOK in addition to TUND. Also add a check to prevent overflow of the addressable threshold. This fixes some reports of rl(4) slowness, believed to be related to ALTQ before. PR: kern/61448 Submitted by: Tim Draegen-Gilman <timNOeudaemonSPAMnet> (with changes) MFC after: 1 week
* Cleanup debugging code and put it under bootverbosebz2005-01-291-35/+36
| | | | | | (includes minor style polishing). Approved by: rwatson (mentor)
* Bring in support for SUGOI LAN GIGA NIC made by System TALKS, Inc fromimp2005-01-221-0/+1
| | | | | | | | | a RealTek 8169SB. PR: 74262 Submitted by: Yoshikazu GOTO-san # Submitter notes that he's unsure of the revision string for 8169SB
* Reimplement the fix in rev. 1.126.ru2005-01-101-5/+8
| | | | OK'ed by: phk
* correct direction for bus_dma sync of rx buffersam2005-01-091-1/+1
| | | | Submitted by: Tai-hwa Liang
* Revert local experiment which leaked into commit.phk2005-01-071-1/+1
|
* Fix compilation of DEVICE_POLLING code.phk2005-01-072-6/+6
|
* Fix typos from previous commit.scottl2005-01-072-0/+2
|
* /* -> /*- for license, minor formatting changesimp2005-01-0731-37/+39
|
* We no longer recurse the mutex.phk2005-01-071-1/+1
|
* If we get an interrupt and the interface is down, return before wephk2005-01-072-9/+5
| | | | | grab the lock. This should help a tiny bit on machines where unused if_sis interfaces share IRQ.
* Don't tweak DSP on the ..16 chips.phk2005-01-061-1/+1
|
* Fix for an issue with excessive collisions in half duplex mode.phk2005-01-061-0/+8
|
* Nail the short cable problem the exact way National says it should be.phk2005-01-061-19/+14
|
* Simplify and fix bugs in rx/tx ring cleanup.phk2005-01-061-24/+21
|
* Rewrite the rx/tx ring initialization to use pointers instead of arrays.phk2005-01-061-45/+34
|
* Eliminate a bunch of unnecessary prototypes.phk2005-01-061-54/+12
|
* Move the module related stuff to the bottom of the file. This willphk2005-01-061-30/+30
| | | | allow us to save prototypes.
* Make sure to clear any pending interrupts when we stop the interface.phk2005-01-061-0/+1
|
* Close a theoretical race: By the time the watchdog comes aroundphk2005-01-061-1/+5
| | | | the interface may have been stopped, so we should not restart it.
* Align if else if properlyphk2005-01-051-6/+4
|
* Style: new-speak functions, remove pointless "return".phk2005-01-051-137/+44
|
* Make sis_initl() take a typed argument.phk2005-01-051-24/+15
| | | | | Expect caller to lock before calling sis_stop() Various style stuff.
* Add locked/unlocked variants of sis_init()phk2005-01-051-15/+22
|
* Make a locked and unlocked variant of sis_start()phk2005-01-051-15/+20
|
* Don't declare variables "register", the compiler ought to know what to do.phk2005-01-051-6/+6
|
* Instead of keeping track of the index into the receive ring use the alreadyphk2005-01-042-8/+6
| | | | implemented "sis_nextdesc" pointer to keep a pointer instead.
* Forget about the sis_list_data and sis_ring_data structures and embeddphk2005-01-042-132/+109
| | | | | | | their fields directly in the softc structure. This is a no-op which shortens most of the affected source lines by N * 10 characters.
* Prototype busdma callback using the typedef.phk2005-01-041-1/+1
|
* Add PCI and device ID's to if_xl to support:rwatson2005-01-032-1/+6
| | | | | | | | | | | 3C920B-EMB-WNM Integrated Fast Ethernet Controller Submitter reports that the card appears to autonegotiate properly, and operate well with high levels of NFS traffic. PR: 75253 Submitted by: "Oleg V. Nauman" <oleg at reis dot zp dot ua> MFC after: 2 weeks
* [1] Remove the generic bridge support from those drivers that had it. Theanholt2004-12-304-15/+55
| | | | | | | | | | | generic bridge support was biting us more than it helped, whenever a new chipset came out from a vendor and misprogramming it caused strange hangs or corruption. [2] Add a large number of PCI IDs based on what the linux drivers support. Note that the new PCI IDs haven't been tested, they're just *likely* to work. In particular the VIA AGP 8x chipsets are concerning, due to lack of testing, possible issues (kern/69953), and not having a nice "does this bridge say it would do 8x" function. However, this shouldn't make the situation worse, since these chips would have probed in the past anyway.
* Enable sk(4) for ATLQ.mlaier2004-12-241-5/+7
| | | | | Thoroughly tested by: Ender <ender NO tog SPAM net> MFC after: 4 weeks
* Enable jumbo frames on Yukon variants of sk(4).bz2004-12-201-2/+9
| | | | | | | | | | In contrast to OpenBSD we enable jumbo frame support depending on MTU setting (like done for xmac). Approved by: pjd (mentor) Obtained from: OpenBSD if_sk.c r1.52 (YU_SMR_MFL_JUMBO flag) Tested by: Heinz Knocke <knockefreebsd at o2 dot pl> MFC after: 5 days
* Update the Tigon 1 and 2 driver to use the sf_buf API for implementingalc2004-12-061-15/+23
| | | | | | | | | | | | zero-copy receive of jumbo frames. This eliminates the need for the jumbo frame allocator implemented in kern/uipc_jumbo.c and sys/jumbo.h. Remove it. Note: Zero-copy receive of jumbo frames did not work without these changes; I believe there was insufficient locking on the jumbo vm object. Tested by: ken@ Discussed with: gallatin@
* - Simplify pcn_probe() by moving vendor/device matching code to pcn_match().mdodd2004-12-031-45/+44
| | | | - Avoid LOR in pcn_probe() by removing useless mutex stuff.
* - Move chip ID code into separate function.mdodd2004-12-031-42/+94
| | | | | | - Initialize sc->pcn_type during ATTACH as softc contents may not surivive from PROBE. - Print out chip-id to assist with ongoing pcn(4) debugging efforts.
* Additional register definitions.mdodd2004-12-031-1/+19
| | | | Obtained from: NetBSD
* Correct URL of the programming manual.brueffer2004-11-171-1/+1
|
* Add missing /* DEVICE_POLLING */brueffer2004-11-171-1/+1
|
* only clear the IFF_OACTIVE flag when we have a chance of being able tojmg2004-11-171-4/+4
| | | | | | | | | queue a packet to the hardware... instead of when the hardware queue is empty.. don't initalize cur_tx now that it doesn't need to be... Pointed out by: bde
* move the lock after the NULL check so we don't have a hard(er) to diagnosejmg2004-11-151-2/+2
| | | | | | panic... Pointed out by: Bjoern A. Zeeb
* fix the missing lock in sk_jfree (verified w/ an assert)jmg2004-11-152-10/+23
| | | | | | | | also fix up handling and proding of the tx, _OACTIVE is now handled better... Submitted by: Peter Edwards (sk_jfree) Obtained from: OpenBSD and/or NetBSD (tx prod)
* Commit more debugging output. This is a little bit of using a large hammer,obrien2004-11-141-0/+10
| | | | | | | | | but sk(4) is so prevalent on AMD64 motherboards we need to reduce the number of round trips in the mailing lists trying to get sufficient information to make sure we've got a handle on all the problems and are working towards making sk(4) solid. Submitted by: bz
* Set ramsize depending on a value from eprom instead of usingbz2004-11-131-3/+9
| | | | | | | | | | hardcoded 128k for Yukon devices. 88E8001 only has 64k of on-chip RAM[1]. [1] http://www.marvell.com/products/pcconn/yukon/Yukon_88E8001_10_073103_final.pdf Tested by: amd64, current Approved by: rwatson (mentor) MFC after: 1 week
* Add altq support.brueffer2004-11-121-7/+9
| | | | | | | Patch by mlaier. Approved by: mlaier MFC after: 2 weeks
OpenPOWER on IntegriCloud