summaryrefslogtreecommitdiff
path: root/sys/dev/ic
AgeCommit message (Collapse)Author
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
2008-10-28Shut splassert upMarco Peereboom
Fix an undo error in previous commit
2008-10-28Be nicer waking up.Marco Peereboom
prompted and ok dlg
2008-10-28Major overhaul of bio.Marco Peereboom
Fix set hotspare that didn't always work. Fix several very subtle bugs because of firmware lies Fix disk size that sometimes was incorrect Only poke drives if something changed so it makes bio way faster on subsequent calls Tested by several folks, thanks Ok dlg
2008-10-28Pointer sizeof oopsMarco Peereboom
2008-10-28Add beginings of bio. Disabled for now.Marco Peereboom
dlg "go go go"
2008-10-27Move some include stuff aroundMarco Peereboom
2008-10-27Start updating isp. Just new defines, comments, whitespace, anything thatKenneth R Westerback
doesn't change the .o.
2008-10-26Spello and ad some #definesMarco Peereboom
2008-10-26Move sensors into SMALL_KERNELMarco Peereboom
2008-10-26SpaceMarco Peereboom
2008-10-25Start updating isp. Just new defines, comments, whitespace, anything thatKenneth R Westerback
doesn't change the .o.
2008-10-25Start updating isp. Just new defines, comments, whitespace, anything thatKenneth R Westerback
doesn't change the .o.
2008-10-23S/PDIF output support in ac97(4), auich(4) and auvia(4)Jacob Meuser
from NetBSD tested by a few with no regressions. optical works for jsg@. ok ratchov@
2008-10-23reove redundant variable sample rate checks.Jacob Meuser
ok ratchov (a while ago)
2008-10-23Fix PR5645Marco Peereboom
ok dlg tested beck and others
2008-10-22This isn't a real structure the firmware understands.Marco Peereboom
2008-10-21Wow we had this structure forever wrong. Didn't break because it wasMarco Peereboom
bigger than intended.
2008-10-21Stray spaceMarco Peereboom
2008-10-16Switch the existing TX VLAN hardware support over to having theChristian Weisgerber
tag in the header. Convert TX tagging in the drivers. Help and ok brad@
2008-10-16Convert RX tag stripping to storing the tag in the mbuf header andChristian Weisgerber
enable RX tag stripping for re(4). ok brad@
2008-10-15Second pass of simple timeout_add -> timeout_add_sec conversionsBret Lambert
This should take care of the simpler ones (i.e., timeout values of integer multiples of hz). ok krw@, art@
2008-10-14Change m_devget()'s outdated and unused "offset" argument: It isChristian 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-11Use hardware timer to simulate interrupt moderation. Old devices will noBrad Smith
longer be livelocked when they are receiving on GigE line. Newer devices also gain well controlled interrupt rate. If hardware supports interrupt moderation (e.g. 8168B, 8168C), you could also use hardware based interrupt moderation, however, due to lack of necessary information it does not work as reliably as simulated interrupt moderation. It is _not_ recommended currently. By default, PCIe devices' simulated interrupt moderation timer is set to 75us, while PCI devices' is set to 125us. From sephe@DragonFly
2008-10-09Set hardware timer according to bus clock speed.Brad Smith
From sephe@DragonFly
2008-10-07if fetching a config page for a sas target doesnt work then let the scsiDavid Gwynne
midlayer try to probe it anyway. this lets raid devices configured on an mpi to work again. reported by djm@
2008-10-06Detect and store the PCI/PCIe bus speed.Brad Smith
From DragonFly