Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-05-19 | BUS_DMA_ZERO instead of alloc, map, bzero. | Owain Ainsworth | |
ok krw@ | |||
2010-01-09 | Remove typo and magic numbers from #if 0'd block, from Brad. | Stuart Henderson | |
2009-12-18 | More device id ordering, from Brad | Stuart Henderson | |
2009-12-17 | Device id ordering, from Brad | Stuart Henderson | |
2009-11-26 | Only re-initialise interfaces on suspend if they were IFF_RUNNING. | Mark Kettenis | |
ok deraadt@, claudio@ | |||
2009-11-24 | Thoroughly reset the chip upon suspend and give the PHY a chance to | Mark Kettenis | |
re-initialise itself afterward. ok deraadt@, mlarkin@, claudio@, pirofti@ | |||
2009-11-24 | for MCLGETI to work correctly drivers need to first dequeue all available | Claudio Jeker | |
packets and then refill the RX ring. When not done this way the rx ring can not grow correctly. Tested by jmc@, OK deraadt@, kettenis@ | |||
2009-11-24 | msk_newbuf() had an off by one when putting the packet onto the cluster | Claudio Jeker | |
and cleared the mbuf pointer of the next element, causing a mbuf leak. While there also ensure that the valid bit of the first buffer is only set when the full chain got assembled. Tested by jmc@, ok kettenis@ | |||
2009-10-15 | Add detach support to a few more drivers, and in others do the neccessary | Theo de Raadt | |
operations in the detach function in the right order. Also ensure that the interrupt handlers not trust registers that go away. read over very carefully by dms, tested by me | |||
2009-10-04 | Correctly store the tag results from bus_dmamem_alloc() so that the | Theo de Raadt | |
detach routine can free the right resources ok dlg kettenis | |||
2009-08-13 | - consistify cfdriver for the ethernet drivers (0 -> NULL) | Jasper Lievisse Adriaanse | |
ok dlg@ | |||
2009-08-09 | MCLGETI() will now allocate a mbuf header if it is not provided, thus | Theo de Raadt | |
reducing the amount of splnet/splx dancing required.. especially in the worst case (of m_cldrop) ok dlg kettenis damien | |||
2009-03-29 | Bypass macsec on extreme/supreme based chips. | Jonathan Gray | |
Makes my 88E8072 work. ok kettenis@ | |||
2009-03-29 | Remove holdover XMAC II writes/reads inherited from sk as | Jonathan Gray | |
they aren't required and cause problems like the 88E8072 hard locking a system when enabling macsec bypass. Tested on 8053/8072 by me and 8021 by kettenis. ok kettenis@ | |||
2009-03-27 | add definitions for more yukon 2 revisions found in linux driver | Jonathan Gray | |
(which tend to be required to know which of the many bugs we will need to work around before each particular revision of hardware will actually work). ok kettenis@ | |||
2009-03-23 | Switch msk(4) over to using MCLGETI when allocating mbufs for the RX ring. | Mark Kettenis | |
This gets rid of one of the evil jumbo allocators! | |||
2009-03-23 | Prevent null pointer dereference that could happen when we process an RX | Mark Kettenis | |
interrupt that was queued while stopping the interface. | |||
2009-03-16 | 88E8057 is a Yukon 2 Ultra 2, and this might make it work on a little | Theo de Raadt | |
shiny green box in Japan ok kettenis | |||
2009-02-22 | Make Yukon-2 FE+ (88E8040, 88E8042) work. | Mark Kettenis | |
ok deraadt@ | |||
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-06-21 | add Marvell Yukon PCI id for the 88E8040T chipset. | Brad Smith | |
From Linux sky2/Marvell sk98lin drivers. | |||
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-02-03 | - add Marvell Yukon PCI ids for a second 88E8055 chipset and the 88E8075 ↵ | Brad Smith | |
chipset. - add initial support for the Marvell Yukon Supreme ASIC. Inspired by similar changes to the Linux sky2 driver. ok kettenis@ dlg@ | |||
2007-11-25 | Make msk(4) detachable. | Mark Kettenis | |
"can't be wrong" deraadt@ | |||
2007-11-14 | add the Marvell 88E8042 and 88E8072 PCI ids. | Brad Smith | |
From the Linux sky2 driver. ok dlg@ | |||
2007-10-02 | add initial support for the Marvell PCIe Yukon FE+ Fast Ethernet chipsets. | Brad Smith | |
Inspired by similar changes to the Linux sky2 driver. Tested by dunceor, Schoeberle Daniel, moritz@ and brad@ on existing known working adapters. These chipsets are not actually available in hardware yet. ok dlg@ | |||
2007-09-17 | Remove an unused function msk_setfilt() which was copied from sk(4) and is | Brad Smith | |
not of use to the Yukon chipsets. ok kettenis@ dlg@ | |||
2007-06-27 | Shrink code by not using __inline without static; like we did for sk(4). | Mark Kettenis | |
From brad at comstyle dot com. | |||
2007-06-01 | Only probe phy's at address 0; gets rid of bogus phy's on the | Mark Kettenis | |
Marvell Yukon 88E8036. ok jsg@ | |||
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-14 | Properly wrap mii_tick() up in splnet(). | Jonathan Gray | |
This seems to fix a bizzare problem I was having for some time with msk on MP amd64 where the machine would reboot itself under load. At least sk(4) and rl(4) code seems to have the potential for a similiar problem. ok kettenis@ | |||
2007-05-12 | Take alignment restrictions into account when setting up RAM buffer addresses. | Mark Kettenis | |
This makes Yukon-2 FE chips work reliably. Pointed out by giovanni at gmail dot com. | |||
2007-02-26 | This fixes the function names printed in the panic strings so that | Todd T. Fries | |
the correct function names are being used, this is msk(4), not sk(4). from brad@ | |||
2007-02-13 | Fix typo. Spotted by brad@. | Mark Kettenis | |
2007-02-12 | Avoid unnecessary resets. This should make fiber 88E8021/22 work completely. | Mark Kettenis | |
tested by jsg@, brad@ | |||
2007-02-11 | Add support for fiber on 88E8021/22. | Mark Kettenis | |
2007-02-10 | Adjust for new/renamed DLink card & Marvell chips. Based on a diff by brad@. | Mark Kettenis | |
2007-02-10 | Add preliminary support for Marvell Yukon-II Extreme chips. | Mark Kettenis | |
Based on a diff from brad@. | |||
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-17 | Remove some textual sk heritage warts by renaming some functions and | Kenneth R Westerback | |
eliminating a one line called once function by inserting its code inline. No functional change. From Brad. | |||
2007-01-13 | Correctly count outbound packets. | Mark Kettenis | |
From brad@ | |||
2007-01-08 | No need to re-init on every media change. | Mark Kettenis | |
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-30 | Enable jumbo frames (except on the Yukon-2 FE). | Mark Kettenis | |
From brad@ |