summaryrefslogtreecommitdiff
path: root/sys/dev/ic
AgeCommit message (Collapse)Author
2008-11-30Add initial 8168D/8111D support.Brad Smith
2008-11-29Iain Hibbert (plunky@netbsd) removed clauses 3 and 4 from hisRay Lai
licenses as well. Thanks! "Groovy" deraadt
2008-11-28Eliminate the redundant bits of code for MTU and multicast handlingBrad 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-11-26Stop maintaining internal queues of received scsi_xfer structures.Kenneth R Westerback
We can now just push unwanted ones back up into the SCSI layer with NO_CCB like other drivers. "Please do so" deraadt@
2008-11-26Use m_defrag instead of collapsing mbufs ourselves.Mark Kettenis
ok dlg@
2008-11-26dont have bpf.h expose the kernel ticks variable wherever it is includeing.David Gwynne
it is very confusing like this. ok deraadt@ canacar@
2008-11-26Stop maintaining internal queues of received scsi_xfer structures.Kenneth R Westerback
We can now just push unwanted ones back up into the SCSI layer with NO_CCB like other drivers.
2008-11-26Stop maintaining internal queues of received scsi_xfer structures.Kenneth R Westerback
We can now just push unwanted ones back up into the SCSI layer with NO_CCB like other drivers.
2008-11-26Use bus_dmamap_load_mbuf instead of loading mbuf fragments ourselves, andMark Kettenis
use m_defrag to linearize packets that don't fit in 16 segments. ok claudio@
2008-11-25use shiny new m_defrag() and nitems() instead of rolling our own.Damien Bergamini
2008-11-25dontqueue is set but never used. garbage collect it.Kenneth R Westerback
2008-11-24die die dieTheo de Raadt
2008-11-24Return NO_CCB instead of TRY_AGAIN_LATER when ccb's run out.Kenneth R Westerback
"I'm all for it." marco@ "Yeah" deraadt@
2008-11-23pccom can finally die; ok kettenis dlg drahn, tested by okanTheo de Raadt
2008-11-23enable bioMarco Peereboom
ok dlg
2008-11-23sizeofa -> nitemsDavid Gwynne
2008-11-23sizeofa is now nitems in param.h, so dont declare my own in mpi.c it wasDavid Gwynne
unused there anyway. use nitems in mpi_pci_match.
2008-11-23Don't use ifp->if_xname if you can use the sc_dev.dv_xname instead.Claudio Jeker
Removes some unneeded ifp pointers from the stack and don't assign ifp->if_softc twice in the same function.
2008-11-19Make sure to check that the TX queue is empty before clearing theBrad Smith
watchdog timer. From FreeBSD Tested on quite a few 3c905/B/C/575 adapters.
2008-11-19Do not reset TX threshold value whenever xl_init() is called. InsteadBrad Smith
the initial threshould is initialized at device attach. Later the threshold could be increased if encountering a TX underrun error and the new threshold should be used in xl_init(). From FreeBSD Tested on quite a few 3c905/B/C/575 adapters.
2008-11-18Remove dup proto from <alexey.suslikov@gmail.com>Marco Peereboom
2008-11-17Sprinkle a few more tabs.Brad Smith
2008-11-17NETBSD -> OPENBSD in #endif comment.Kenneth R Westerback
2008-11-17Use new isp_library.c rather than isp_inline.h. No functional change.Kenneth R Westerback
Tested by naddy@. 'go for it' marco@
2008-11-16Add new style replacement for isp_inline.h.Kenneth R Westerback
2008-11-14Revert the reduction in the delays in the miibus read/write routines,Christian Weisgerber
which broke on-board RTL8111C adapters.
2008-11-10remove unused variable 'error' from two functions; llvm/clang; ok dlgConstantine A. Murenin
2008-11-09Introduce bpf_mtap_ether(), which for the benefit of bpf listenersChristian Weisgerber
creates the VLAN encapsulation from the tag stored in the mbuf header. Idea from FreeBSD, input from claudio@ and canacar@. Switch all hardware VLAN enabled drivers to the new function. ok claudio@
2008-11-08Reduce the delay's a bit in the miibus read/write routines.Brad Smith
Based on the Linux r8169 driver. Tested on PCI/CardBus and PCIe adapters.
2008-11-08Reduce the number of TX descriptors to 512, such a large number is notBrad Smith
necessary without TSO.
2008-11-07Try recollecting RX/TX descriptors if we are going to switch back to TX/RXBrad Smith
interrupts. There seems to be a race between turning on TX/RX interrupt and asserting TX/RX interrupt by the hardware. From Sephe@DragonFly
2008-11-07Simplify the interface flag handling in the ioctl handler.Brad Smith
2008-11-07Remove storing the Ethernet header in the receve interrupt handler, theBrad Smith
disabled code that used to use this was removed 7 years ago.
2008-11-07Add more initialisation steps (read reset register; pause; set burst sizeBrad Smith
in config register). From NetBSD
2008-11-07- According to the Apple GMAC driver, the GEM ASIC specification andBrad Smith
the OpenSolaris eri(7D) the TX FIFO threshold has to be set to 0x4ff for the Gigabit variants and 0x100 for the ERI in order to avoid TX underruns. - Turn on workarounds for silicon bugs in the Apple GMAC variants. This was based on information obtained from the Darwin GMAC and Linux GEM drivers. - Turn on "infinite" (i.e. maximum 31 * 64 bytes in length) DMA bursts. From FreeBSD Tested by a few users with Apple GMAC's and Sun ERI.
2008-11-03Don't attach bio unless we do RAID.Marco Peereboom
2008-11-02Start updating isp. Just new defines, comments, whitespace, anything thatKenneth R Westerback
doesn't change the .o. Use isp_stds.h.
2008-11-02Start updating isp. Just new defines, comments, whitespace, anything thatKenneth R Westerback
doesn't change the .o.
2008-11-02Start updating isp. Just new defines, comments, whitespace, anything thatKenneth R Westerback
doesn't change the .o.
2008-11-01Add sensorsMarco Peereboom
2008-11-01Fix bogus shift.Marco Peereboom
2008-11-01Start updating isp. Just new defines, comments, whitespace, anything thatKenneth R Westerback
doesn't change the .o.
2008-11-01Oops forgot .h part.Marco Peereboom
2008-11-01Add disk. This makes bio mostly done however to make it pretty we needMarco Peereboom
to implement RAID_ACTION. Remains disabled for now.
2008-10-31Generalize function to obtain all details to do bio stuff. This is inMarco Peereboom
preparation to start showing unsused disks which will require all this information to do the math. While at it fix a size of hotspare volume bug.
2008-10-31Add opcodeMarco Peereboom
2008-10-30Fix bug that when there are no volumes but there are hot spares it wouldMarco Peereboom
no show the hotspares.
2008-10-29Add initial bio support; only volume status is handled.Brad Smith
Based on cac(4) bio support from NetBSD which is derived from OpenBSD's ciss(4) bio support. Tested by otto@ jbg@ ok marco@
2008-10-29Bring pd structure up to dateMarco Peereboom
2008-10-28Fix output when reporting on multivolume disk groups.Marco Peereboom
Reported by mitja@muzenic.net