summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_sk.c
AgeCommit message (Collapse)Author
2005-10-15add 2 new Yukon PCI ids and recognize Yukon-2 EC Ultra ASIC.Brad Smith
2005-10-15update Via and 3Com ids.Brad Smith
2005-09-20memory, media handling and a bunch of register definitions for Yukon-2.Brad Smith
From jason@
2005-09-20merge xmaciireg.h and yukonreg.h into if_skreg.hBrad Smith
2005-09-20shuffle some stuff from skreg to skvarBrad Smith
2005-09-17add media detection and dual port detection for Yukon-2.Brad Smith
from jason@
2005-09-16- remove code to read PCI VPD as we do not use that anymore.Brad Smith
- remove some FreeBSD-ism's: struct resource *'s. - fail more gracefully in sk_probe() instead of in sk_attach() for newer unsupported ASIC revisions. From jason@
2005-08-29- use pci_mapreg_type() to fix some systems that would fail to attachBrad Smith
sk(4) with "can't map mem space". - add missing newline for failure case of pci_intr_establish(). ok deraadt@
2005-07-25don't bother with printf in *_jalloc()Brad Smith
2005-07-24simplify error paths and add some missing ones; brad@ ok.Federico G. Schwindt
deallocation for jumbo memory left.
2005-07-22- sync sk_alloc_jumbo_mem() to look like bge's bge_alloc_jumbo_mem()Brad Smith
- oops, forgot to remove a line in sk_rxeof()
2005-07-22also take the PCI subsystem id into consideration when trying to probeBrad Smith
for Linksys EG1032 cards, that way we do not try and attach to newer rev 3 cards that use the RealTek 8169S chipset.
2005-07-21- add bus_dmamap_sync()'s; From NetBSDBrad Smith
- use pci_mapreg_map() - remove unnecessary splimp() usage in skc_attach() - make sure to disestablish the interrupt on failure Tested by a few end-users.
2005-07-14add D-Link PCI id.Brad Smith
From: jsg@
2005-07-12remove unused prototype sk_free_jumbo_memBrad Smith
2005-07-12free resources for Jumbo buffers in sk_stop().Brad Smith
ok deraadt, krw, beck
2005-07-02clear IFF_RUNNING & IFF_OACTIVE in foo_stop() before de-allocating resources.Brad Smith
2005-07-02- mbuf external storage is of (caddr_t), not (caddr_t *).Brad Smith
- check for MTU being too small with ETHERMIN - don't bother reseting the card since it'll default to allowing Jumbos
2005-05-17remove spurious bpf_mtap (I think it's leftover debugging code from a year ago)Jason Wright
2005-05-16add a newline hereBrad Smith
2005-05-11remove comment which is not valid anymoreBrad Smith
2005-05-11- Also match on Yukon LP's for the Lite rev A0 test.Brad Smith
- Do not call mii_pollstat() from within device tick routines; the status information is updated by mii_tick(). - Take PHY out of reset for Yukon Lite rev A3. This resolves the intermittent "no PHY found!" issue. From FreeBSD - Recognize some newer Yukon chipsets ok krw@, tested by krw@ and a few others, mostly with LOM Lite A3's but also with some other ASIC revs too.
2005-04-25csum -> csum_flagsBrad Smith
ok krw@ canacar@
2005-03-18fail to attach with a printf instead of a panic for newer yet unsupportedBrad Smith
Yukon-2-based cards. ok deraadt@
2005-03-12add a bunch of PCI ids from the SysKonnect sk98lin driver.Brad Smith
2005-01-15make sure interface is in RUNNING state before touching the multicast filtersBrad Smith
From NetBSD NetBSD PR 27678 for details ok mcbride@
2005-01-02cleanup and better ram sizing.Brad Smith
2005-01-01better chip/card identification.Brad Smith
From NetBSD ok krw@
2005-01-01rev 1.92Brad Smith
only clear the IFF_OACTIVE flag when we have a chance of being able to 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... rev 1.90 _OACTIVE is now handled better... From FreeBSD ok krw@
2005-01-01Don't initialize the card (and start an autonegotiation!) every timeKenneth R Westerback
the IP address changes. Makes 'dhclient sk0' invocations way faster and more consistant. i.e. one DHCPREQUEST elicts the DHCPACK. ok brad@ 'Wow. Great Idea.' deraadt@.
2004-12-22- add missing braces for SIOCSIFMTU switch case.Brad Smith
- allow reception of Jumbo frames all the time on GEnesis based cards, same as Yukon based cards. ok krw@ mcbride@
2004-12-14Fix off-by-one. From FreeBSD r1.87. Also in NetBSD. Field being filledKenneth R Westerback
(sk_vpd_readonly) is not currently used, but the memory being tromped on might be. ok millert@.
2004-12-08use ETHER_MAX_LENBrad Smith
2004-12-08Enable jumbo frames on Yukon varients of sk(4).Kenneth R Westerback
ok mcbride@.
2004-11-16Lower interrupt moderation timer to decrease service latency.Brad Smith
From NetBSD ok deraadt@
2004-11-16back out previous commit and put the right change in which correspondsBrad Smith
to what the previous commit message said... Fix tx queue (slist can be corrupted when tx interrupts hit within tx_encap).
2004-11-16Fix tx queue (slist can be corrupted when tx interrupts hit within tx_encap).Brad Smith
From NetBSD ok henning@ mcbride@
2004-11-11- Fix Yukon ram sizing.Brad Smith
- Keep tx queue running by kicking the tx bmu repeatedly. - Handle if_timer a bit better. From NetBSD ok deraadt@
2004-10-14Bail out quietly if the eeprom appears to be missing or empty. FixesBrad Smith
support for D-Link DGE-530T adapters. From: FreeBSD via Blake Willis <blake at 2112 dot net> ok mcbride@
2004-09-23don't need to set ifp->if_mtu or ifp->if_output in each driver,Brad Smith
{ether,atm,fddi}_ifattach already does this. ok mcbride@ markus@ henning@
2004-08-20a belkin ID on a sk cardTheo de Raadt
2004-08-19Don't complain about lack of jumbo storage when processing incoming packetsRyan Thomas McBride
unless we're debugging.
2004-08-05remove some separate per driver constants and useBrad Smith
ETHER_MAX_LEN_JUMBO/ETHERMTU_JUMBO where appropriate. ok mcbride@ henning@ mickey@
2004-08-04Make jumbo frames work.Ryan Thomas McBride
- allocate and manage our own memory for rx packets rather than using mbuf clusters; code for this lifted from if_bge.c - pass the correct size to bus_dmamap_create() ok deraadt@
2004-05-29replace hand-rolled CRC calculation in multicast hash setup with calls toChristian Weisgerber
ether_crc32_*(); ok mcbride@
2004-05-24Make Yukon-style adapters also set up the multicast filter in sk_init().Christian Weisgerber
This fixes various multicast-related problems. ok henning@
2004-04-09do not whine if we cannot get mbufs. the countless printfd makes the machineHenning Brauer
crawl under mbuf starvation, making the situationmuch worse, and don't make sense in the first place. ok tdeval@ millert@ beck@ deraadt@
2004-03-09Fix multicast on recent sk chipsets. Adapted from a patch by Keith MitchellMatthieu Herrb
in <http://lists.freebsd.org/pipermail/freebsd-hardware/2003-December/000851.html> Ok deraadt@.
2003-12-17not qualifying a product based on vendor AND product ID just bugs meJason Wright
2003-12-17marvell skv2 (smc9452TX); from freebsdJason Wright