Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-03-30 | Switch sk(4) over to using MCLGETI when allocating mbufs for the RX ring. | Mark Kettenis | |
Another evil jumbo allocator bites the dust. | |||
2008-11-28 | Eliminate the redundant bits of code for MTU and multicast handling | Brad Smith | |
from the individual drivers now that ether_ioctl() handles this. Shrinks the i386 kernels by.. RAMDISK - 2176 bytes RAMDISKB - 1504 bytes RAMDISKC - 736 bytes Tested by naddy@/okan@/sthen@/brad@/todd@/jmc@ and lots of users. Build tested on almost all archs by todd@/brad@ ok naddy@ | |||
2008-10-14 | Change m_devget()'s outdated and unused "offset" argument: It is | Christian Weisgerber | |
now the offset into the first mbuf of the target chain before copying the source data over. From FreeBSD. Convert drivers' use of m_devget(). Mostly from thib@. Update mbuf(9) man page. ok claudio@, thib@ | |||
2008-10-02 | First step towards cleaning up the Ethernet driver ioctl handling. | Brad Smith | |
Move calling ether_ioctl() from the top of the ioctl function, which at the moment does absolutely nothing, to the default switch case. Thus allowing drivers to define their own ioctl handlers and then falling back on ether_ioctl(). The only functional change this results in at the moment is having all Ethernet drivers returning the proper errno of ENOTTY instead of EINVAL/ENXIO when encountering unknown ioctl's. Shrinks the i386 kernels by.. RAMDISK - 1024 bytes RAMDISKB - 1120 bytes RAMDISKC - 832 bytes Tested by martin@/jsing@/todd@/brad@ Build tested on almost all archs by todd@/brad@ ok jsing@ | |||
2008-09-10 | Convert timeout_add() calls using multiples of hz to timeout_add_sec() | Bret Lambert | |
Really just the low-hanging fruit of (hopefully) forthcoming timeout conversions. ok art@, krw@ | |||
2008-05-24 | Also recognize the Schneider & Koch SK-9821/SK-9843 adapters from | Brad Smith | |
Fujitsu. | |||
2008-05-23 | Simplify the combination use of pci_mapreg_type()/pci_mapreg_map() as | Brad Smith | |
suggested by dlg@ awhile ago. ok dlg@ | |||
2008-03-02 | Change some spaces to tabs in the transmit functions. | Brad Smith | |
ok kettenis@ | |||
2008-01-17 | Add splnet around mii_tick() in sk_yukon_tick(). | Brad Smith | |
ok kettenis@ dlg@ | |||
2007-05-26 | separate the attach information from the status information with a colon. | Reyk Floeter | |
suggested by deraadt@ | |||
2007-05-22 | %z in printf(9) is not the same as %z in printf(3). Change to %lu | Ray Lai | |
and cast arg to ulong. OK miod@. | |||
2007-05-07 | shrink code by not using __inline without static; ok kettenis | Theo de Raadt | |
2007-02-12 | Fix prototype, from brad@, no binary change | Pedro Martelletto | |
2007-02-10 | Move HASH_BITS constant to if_skreg.h as SK_HASH_BITS. Remove unused | Kenneth R Westerback | |
code and an unnecessary comment, No functional change. From brad@. | |||
2007-02-03 | Fix typo; clear tx FIFO underrun IRQ as intended instead of rx FIFO overrun | Mark Kettenis | |
IRQ. From brad@ | |||
2007-01-18 | Don't reinitialize card at every media change. | Kenneth R Westerback | |
From Brad, tested by Brad, wilfried@ and Johan M:son Lindman. ok wilfried@ | |||
2007-01-05 | For Yukon-based cards, pass MIIF_DOPAUSE to mii_attach(). | Mark Kettenis | |
From brad@ | |||
2007-01-03 | In sk_marv_miibus_writereg, wait for busy flag to clear instead of | Mark Kettenis | |
continuing when busy flag set. | |||
2007-01-03 | Don't say 'Marvell' twice for each sk/msk device in dmesg. No functional | Kenneth R Westerback | |
change. from brad@ ok mglocker@ | |||
2006-12-06 | - Move TX ring full sanity check further up and check the number of DMA | Reyk Floeter | |
segments from the DMA map, instead of counting the DMA segments in the for loop and breaking out later. - Unload the DMA map if encountering an error condition. Tested on amd64/i386/sparc64 ok brad@ mglocker@ | |||
2006-11-16 | remove the small amount of code for Yukon-2 chipsets now that there is msk(4). | Brad Smith | |
2006-11-08 | Make XMAC work on on big-endian systems. | Mark Kettenis | |
help & ok jason@, ok brad@ | |||
2006-10-16 | Fix some "is is"s. ok otto@. | Tom Cosgrove | |
2006-09-27 | fix the use of LIST_INSERT_HEAD in [m]sk_alloc_jumbo_mem(). | Brad Smith | |
2006-09-26 | Set sk_jumbo_buf to NULL if malloc() fails in the for loop within | Brad Smith | |
[m]sk_alloc_jumbo_mem(). | |||
2006-09-18 | g/c unused SK_{SET,CLR}BIT macros | Brad Smith | |
From riz@NetBSD | |||
2006-08-17 | cosmetic tweaks. | Brad Smith | |
2006-08-17 | remove PCI ids which msk(4) will match against from sk(4). | Brad Smith | |
2006-08-09 | revert rev 1.119 as this seems to cause problems with some PHY. | Brad Smith | |
2006-08-04 | and the same goes for sk_init_yukon(). | Brad Smith | |
2006-08-04 | remove now redundant promiscuous mode handling code from sk_init_xmac(). | Brad Smith | |
2006-08-04 | refactor the promiscuous mode handling code and simplify the ioctl handler. | Brad Smith | |
2006-08-04 | Fix busy check for PHY write operation with Yukon chips. | Brad Smith | |
From yongari@FreeBSD | |||
2006-07-30 | Add more strict receive path packet validation routine. Previously | Brad Smith | |
the driver could pass corrupted packets to the upper layer under certain conditions. From yongari@FreeBSD | |||
2006-07-23 | improved Yukon init routine with proper workaround for the PHY COMA mode. | Brad Smith | |
From yongari@FreeBSD | |||
2006-06-22 | Add appropriate swapping for big-endian systems. Allows sk(4) to work | Brad Smith | |
on macppc and sparc64. ok reyk@ | |||
2006-06-22 | adjust PCI ids. | Brad Smith | |
2006-06-17 | add sys/timeout.h | Brad Smith | |
2006-06-17 | remove some whitespace. | Brad Smith | |
2006-06-15 | Fix watchdog timeout errors seen on a few systems. | Brad Smith | |
The SK-NET GENESIS document says reading the SK_ISSR register should stop generating further interrupts, but it seems there is the possibility of losing interrupts between reading the SK_ISSR register and determining which interrupts have been reported. To cope with this situation we continuously read the SK_ISSR register until there are no interrupts. However, it seems that the above workaround does not fix all cases. Add workaround code that tries to protect against false alarms from the watchdog handler by trying to reclaim pending Tx descriptors before resetting the hardware. This should fix occasional watchdog timeouts seen with this driver. From FreeBSD | |||
2006-05-28 | - remove ETHER_MAX_LEN_JUMBO and ETHERMTU_JUMBO. | Brad Smith | |
- use if_hardmtu for MTU ioctl handlers. ok reyk@ | |||
2006-05-28 | unknown ioctl is ENOTTY not EINVAL | Jason Wright | |
2006-05-27 | remove IFCAP_JUMBO_MTU interface capabilities flag and set if_hardmtu in a few | Brad Smith | |
more drivers. ok reyk@ | |||
2006-05-20 | set if_jumbo_mtu and the IFCAP_JUMBO_MTU capabilities flag where | Brad Smith | |
appropriate. ok reyk@ | |||
2006-05-01 | Activate Tx descriptor poll timer in order to protect possible loss | Brad Smith | |
of SK_TXBMU_TX_START command. Previously the driver continuously issued SK_TXBMU_TX_START when it notices pending Tx descriptors not processed yet in interrupt handler. That approach would add additional PCI write access overhead under high Tx load situations and it might fail if the first SK_TXBMU_TX_START was lost and no interrupt is generated from the first SK_TXBMU_TX_START command. From FreeBSD | |||
2006-05-01 | Added Rx/Tx FIFO flush support for Yukon | Brad Smith | |
From FreeBSD | |||
2006-05-01 | A new function sk_yukon_tick(), to handle auto-negotiation properly for | Brad Smith | |
Yukon-based adapters. From FreeBSD | |||
2006-04-30 | - Use SK_IS_GENESIS/SK_IS_YUKON where appropriate | Brad Smith | |
- Remove SK_YUKON_FAMILY | |||
2006-04-30 | - Interrupt handler now checks shared interrupt source and protects | Brad Smith | |
the interrupt handler from NULL pointer dereference which was caused by odd status word value. The status word can return 0xffffffff if the cable is unplugged while Rx/Tx/auto-negotiation is in progress. From FreeBSD | |||
2006-04-30 | Update if_oerrors if we encounter watchdog error. | Brad Smith | |
From FreeBSD |