summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2008-09-11Remove the redundant local variable 'revision' from the PCI attach function.Brad Smith
The softc field dc_revision contains the PCI revision. No functional change.
2008-09-11Add missing license. Copy the license used elsewhere with the dc(4) driver.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-10add support for the PCA9555 device which has 16 instead of 8 pins.Reyk Floeter
ok deraadt@
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-1040-bit GART support for PCIE devices. From drm git a while ago.Owain Ainsworth
Tested by a few, no regressions for normal use.
2008-09-10Kill the max_context member of the softc, it does nothing useful.Owain Ainsworth
2008-09-09Kill some stupid agp api wrapper functions, just use the agp apiOwain Ainsworth
directly. While i'm here, factor out some common functionality into a separate function, and kill some typedefs (man this code is full of them...). Shaves another 450 bytes off the kernel. Tested by ckuethe and Paul de Weerd, thanks.
2008-09-09regenBrad Smith
2008-09-09Recognize the Marvell 88E1116R Gig PHY.Brad Smith
From FreeBSD
2008-09-08- don't leave nodes unconfigured, when setting alternate settingMartynas Venckus
fails. fixes my ups looked over by fgs@. ok sthen@
2008-09-08prevent mustek from attaching as uhid. ok theo, sthen@Martynas Venckus
2008-09-08syncTheo de Raadt
2008-09-08holtek; bigionews@snb.itTheo de Raadt
2008-09-08syncMartynas Venckus
2008-09-08add mustek powermust 800 ups; ok theo, sthen@Martynas Venckus
2008-09-08regenBrad Smith
2008-09-08- Add entries for two revisions of the ATI Radeon X1650 adapters.Brad Smith
- Fix some of the existing ATI Radeon entries to have more consistent and shorter names. Based on a diff from Jonathan Armani <jonathan dot armani at supinfo dot com>
2008-09-08Fix a link state issue reported by reyk@Brad Smith
In some situations we were not clearing pending link state attentions. Because of this we were not getting further interrupts for link state changes, thus never went into iface UP state. Force an interrupt at the end of bge_ifmedia_upd so we will call bge_link_upd, clear the link state attention and get further interrupts. From FreeBSD ok reyk@
2008-09-08remove some useless comments.Brad Smith
2008-09-08IEEE 802.3 Annex 28B.3 explicitly specifies the following relativeBrad Smith
priorities of the technologies supported by 802.3 Selector Field value. 1000BASE-T full duplex 1000BASE-T 100BASE-T2 full duplex 100BASE-TX full duplex 100BASE-T2 100BASE-T4 100BASE-TX 10BASE-T full duplex 10BAST-T However PHY drivers did not honor the order such that 100BASE-T4 had higher priority than 100BASE-TX full duplex. Fix a long standing bug such that PHY drivers choose the highest common denominator ability. This bug is exposed by a Cisco 3550 switch which inadvertently announces 100BASE-T4 capability even though it is not capable of 100BASE-T4 operation, it is a 100BASE-TX switch. From FreeBSD Tested with dc(4), fxp(4), rl(4), sis(4).
2008-09-08expand switch cases so they're not so ugly and easier to read.Brad Smith
ok deraadt@
2008-09-07Kill some unneeded defines and struct members.Owain Ainsworth
2008-09-06Something else that nothing calls.Owain Ainsworth
2008-09-06Kill some more unused struct fields and the cases for them.Owain Ainsworth
2008-09-06Kill the stats data structures and noop some other parts. Nothing inOwain Ainsworth
userland asks for these stats, and we stopped recording anything interesting a while back.
2008-09-05The code for cleaning up errored buffers and for cleaning up at the endOwain Ainsworth
is the same. Factor them into one function. Saves another 450 bytes on amd64.
2008-09-05The helper functions in this file are only used in one place andOwain Ainsworth
relatively small, so inline them. This shrinks the kernel by about 500 bytes and saves a tree lookup.
2008-09-05syncOkan Demirmen
2008-09-05- clarify Radeon HD 2600 Pro entryOkan Demirmen
- add Mobility Radeon HD 2600 found in a hp 8510p ok brad
2008-09-05fix vblank interrupt mask. Unbreaks sync-to-vblank and anything thatOwain Ainsworth
needs the actual interrupts. Oops!
2008-09-04mostly cosmetic.Damien Bergamini
also, do not set the privacy bit in the capinfo field of (re)assoc requests, even for RSNA.
2008-09-03Replace -s (sector size) option with more general -t (disktype)Kenneth R Westerback
option which makes the vnd device emulate the geometry of the specified disktab(5) entry. No change in behaviour or geometry unless -t is used. API for vnd configuration ioctl (VNDIOCSET) changes, so mount_vnd must be in sync with kernel. Tested & ok jsing@ 'Lovely' deraadt@
2008-09-03(Re)Association requests should contain a QoS Capability element,Damien Bergamini
not an EDCA Parameter Set element (spotted by IEEE80211_STA_ONLY).
2008-09-03redefine ic_send_mgmt() as a no-op instead of calling IF_PURGE inDamien Bergamini
{ipw,iwi}_start which is wrong (node reference is not released). from pgt(4).
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-03regenStuart Henderson
2008-09-03housekeeping:Stuart Henderson
- remove extraneous spaces - better column alignment - sort vendors by vendor-id - sort products by vendor-id,device-id - group products by vendor-id rather than vendor-name - fix vendor-id for Motorola SB4100 (checked with vendor driver) ok brad@
2008-09-03Use & not && when masking bits.Jonathan Gray
2008-09-02If we need a physical hardware status page, initialise it at device attachOwain Ainsworth
instead of putting up and tearing down on open and close, some chips got unstable with it being done repeatedly. From drm git. Tested by several.
2008-09-02Track progress inside of batchbuffers so we know the hardware isn'tOwain Ainsworth
wedged. This avoids early temination of long-running commands. From Keith Packard, via drm git. Tested by several on various chipsets.
2008-09-02missing break;Jonathan Gray
ok oga@
2008-09-02detypedef some more. No functional change.Owain Ainsworth
2008-09-01avoid loosing return value from copyin, and properly return it.Charles Longeau
initial patch from me, reworked by oga@. found by LLVM/Clang Static Analyzer. ok oga@
2008-09-01fix null dereference.Charles Longeau
initial patch from me, reworked by oga@. found by LLVM/Clang Static Analyzer. ok oga@
2008-09-01convert a tsleep back to msleep that got lost in a previous upstream merge.Owain Ainsworth
Won't sleep with a spinlock here anymore.
2008-09-01Add Interrupt mitigation for the i9XX user_irq, should save a bit of power;Owain Ainsworth
from drm git.
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-01Finish the rest... ATL2 -> LIIBrad Smith
ok jsing@
2008-09-01Switch ath(4) to softcrypto to enable support for WPA/WPA2.Reyk Floeter
Tested by ckuethe@ and many users, thanks!