summaryrefslogtreecommitdiff
path: root/sys/dev/ic
AgeCommit message (Collapse)Author
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
2008-10-05Add a flag to indicate a 64-bit PCI bus is present.Brad Smith
2008-10-05Detect if the adapter is a PCIe adapter and set the RL_FLAG_PCIE flagBrad Smith
if so.
2008-10-03Use ether_ioctl().Brad Smith
2008-10-03Return ENOTTY for unknown ioctl's.Brad Smith
2008-10-03Remove a few small ifdef/ifndef OpenBSD sections which contained someBrad Smith
NetBSD code.
2008-10-03KNF.Brad Smith
2008-10-02First 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-30check all luns on sas boards to see if the device is atapi instead of justDavid Gwynne
the first one.
2008-09-30provide a scsi probe hook that checks if an atapi device is plugged intoDavid Gwynne
sas mpi variants. this lets the midlayer know it should send the right sized commands to the device. this will make the cd drive work on the sun enterprise m4000 and related machines. reported by James Hsieh at sun.
2008-09-30add support for handling extended configuration page requests. the sasDavid Gwynne
pages are all extended, which is annoying.
2008-09-30describe the extended configuration header and the sas device config pageDavid Gwynne
0.
2008-09-30straighten the deck chairs slightlyDavid Gwynne
2008-09-25Initialize 'ssc' to NULL since we test it later. Shouldn't ever beKenneth R Westerback
NULL at the point of test unless the device list is confused, but be consistantly paranoid if we're going to be paranoid.
2008-09-18Introduce the infrastructure required to support hardware VLAN tagChristian Weisgerber
stripping: Add a field to the mbuf pkthdr to hold the tag and an mbuf flag that tells if the tag is valid. Inspired by FreeBSD. Struct packing suggested by kettenis@. csum_flags is now 16 bits. Adapt to this in the drivers. ok reyk@, henning@
2008-09-13fallback to 11b support if the EEPROM is not reporting any available mode.Reyk Floeter
there is probably a new EEPROM format here, but i don't know how to parse the AR5424 version yet, so just set some defaults for these chipsets for now.
2008-09-12SCSI_DATA_UIO is never used. Code which checks for it is either dead orMiod Vallat
commented out, remove it. Unifdef TFS while there. ok marco@ krw@
2008-09-12Some fixes for dc_txeof()..Brad Smith
- Don't reload the watchdog timer in case there are still unhandled descriptors. - Don't clear IFF_OACTIVE unless there are at least 6 free TX descriptors. The function dc_encap() will bail if there are only 5 or fewer free TX descriptors, causing dc_start() to abort so it makes no sense to pretend we could process mbufs again when in fact we can't. - Always assign idx to sc->dc_cdata.dc_tx_cons; it doesn't make much sense to exclude the idx == sc->dc_cdata.dc_tx_cons case. From FreeBSD
2008-09-11ANSI function declarations.Brad Smith
2008-09-11For chips with a broken DC_ISR_RX_STATE which never signalsBrad Smith
stopped nor the waiting state and also no other means to check whether the receiver is idle, we have no choice but to call mii_tick unconditionally even in the case of the DC_REDUCED_MII_POLL handling as far as the RX side is concerned. This isn't necessarily worse than checking whether RX is idle though because unlike as with TX we're racing with the hardware, which might receive packets any time while we poll the MII, anyway. Fixes the use of trunk(4) with the affected interfaces. From FreeBSD
2008-09-10Convert 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-09-03In dc_setcfg() suppress printing a warning when forcing the receiverBrad Smith
and transmitter to idle state times out for chips where the status bits in question never change (observed in detail with DM9102A) and therefore the warning would highly likely be a false positive. From FreeBSD
2008-09-01Avoid #pragma pack(1) and unify everything towards using __packed.Theo de Raadt
This requires that structures defined within __packed structures must independently request that they themselves become __packed, too. worked on with toby CVS: ----------------------------------------------------------------------
2008-09-01Switch ath(4) to softcrypto to enable support for WPA/WPA2.Reyk Floeter
Tested by ckuethe@ and many users, thanks!
2008-08-31Fix redundant device name and/or target printing after callingMiod Vallat
sc_print_addr(); ok krw@
2008-08-30garbage collect the no longer used GEM_IS_APPLE macro.Brad Smith
2008-08-30Fix an issue initially reported by drahn@ with gem(4) where theseBrad Smith
drivers can report 2-3x times the number of actual packets being transmitted by only incrementing the counter for descriptors with buffers being freed. ok kettenis@
2008-08-29Take the PHY out of power down while attaching just before probing forBrad Smith
PHY. This helps with systems dual booting Windows XP/Vista where the Windows drivers will put the PHY in power down mode when rebooting. From FreeBSD
2008-08-29move code to support Frequency-Hopping spread spectrum (FHSS) PHYsDamien Bergamini
to the Attic. nothing uses it in the tree and it is very unlikely that something will use it one day. the only driver supporting FHSS PHYs in the tree is ray(4) and it does not use net80211.
2008-08-29add support for software crypto to allow WPA/WPA2/RSN. it is disabledReyk Floeter
for now because it needs more testing, but basic WPA/WPA2 and WEP seems to work. to enable it, set the compiled-in ath_softcrypto variable to 1. this is based on a previous diff from damien@ with some changes to disable the hardware crypto engine if softcrypto is enabled and to keeps the hardware crypto code in place to allow later work on hardware WPA/WPA2.