summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2013-01-10dont hardcode the phy address at 1. the 5718 family of chips can haveDavid Gwynne
phys as 1, 2, 8, or 9 depending on which pci function its on and whether its serdes. this tells every other bge that the phy is still at 1, so they still work.
2013-01-10oh hey guys, ive got this cool new thing called a "switch statement". yourDavid Gwynne
if (thing == foo || thing == bar || thing == baz) is ugly. no functional change.
2013-01-10macros describing necessary bits on newer chips.David Gwynne
just extra cruft, it doesnt change anything that already exists so it cant (and empirically doesnt) change existing chip support.
2013-01-10apparently broadcom finally made a series of phys that done need a bunchDavid Gwynne
of workarounds in the 5718 family and up. we dont attach bge to those chips yet, so this cant break anything that isnt already broken. from freebsd.
2013-01-10regenDavid Gwynne
2013-01-10fix model ids for Broadcom BCM5720C and BCM5717C phys.David Gwynne
tested on real 5720 hardware.
2013-01-10when checking if a particular phy has a particular model number,David Gwynne
make sure we check the oui as well. broadcom has 4 or 5 ouis with overlapping model numbers, so they should be scoped when you look them up. tested on at least: bge0 at pci3 dev 4 function 0 "Broadcom BCM5714" rev 0xa3, BCM5715 A3 (0x9003): ivec 0x795, address 00:14:4f:a9:34:90 brgphy0 at bge0 phy 1: BCM5714 10/100/1000baseT/SX PHY, rev. 0 bnx0 at pci7 dev 0 function 0 "Broadcom BCM5709" rev 0x20: apic 0 int 6 bnx0: address 1c:c1:de:e4:5e:b0 brgphy0 at bnx0 phy 1: BCM5709 10/100/1000baseT PHY, rev. 8 bge0 at pci0 dev 5 function 0 "Broadcom BCM5702X" rev 0x02, BCM5702/5703 A2 (0x1002): eb164 irq 2, address 00:10:18:00:98:e9 brgphy0 at bge0 phy 1: BCM5703 10/100/1000baseT PHY, rev. 2 bge0 at pci2 dev 0 function 0 "Broadcom BCM5761" rev 0x10, BCM5761 A1 (0x5761100): apic 2 int 18, address 00:10:18:4b:23:b4 brgphy0 at bge0 phy 1: BCM5761 10/100/1000baseT PHY, rev. 0 some tests by and ok mikeb@ and naddy@
2013-01-09Sync the userland facing drm headers with FreeBSD minus some cruft mpiJonathan Gray
says has been removed upstream. ok mpi@
2013-01-09comments are lies. brgphy definitely supports more thant the BCR5400.David Gwynne
ok deraadt@ sthen@
2013-01-08a single-com in the Exsys EX-4109x family; Gregory Edigarov <edigarov@qarea.com>Theo de Raadt
2013-01-06acknowlege -> acknowledgeMartynas Venckus
compatability -> compatibility OK jmc@.
2013-01-06don't propagate XF86XK_Audio{Lower,Raise}Volume keys to userspace,Alexandre Ratchov
otherwise volume may be adjusted twice: once by X apps and once in the kernel. feedback from many, ok shadchin@
2013-01-05Enable MSI for rtsx(4). Tested on i386 and amd64.Stefan Sperling
2013-01-05- add some intel 7 series sata ids.Jasper Lievisse Adriaanse
ok jsg@
2013-01-04Attach rtsx(4) only to devices using the 'undefined' PCI class, and doStefan Sperling
not ever attach sdhc(4) to devices matching the rtsx(4) vendor/product ID. Fixes an issue reported by Dave Anderson where on his hardware both drivers attached to apparently the same device which then failed to work reliably. ok deraadt
2013-01-04fix a logical or that was inteded to be binary in the last revisionJonathan Gray
spotted by clang, blindly accepted by gcc...
2013-01-04add Huawei E353Jonathan Gray
from/tested by Zavisa Nikac
2013-01-04regenJonathan Gray
2013-01-04add Huawei E353Jonathan Gray
from Zavisa Nikac
2013-01-02Add the remaining Radeon rv610/rv620/rv630/rv635/rv670,Jonathan Gray
rv710/rv730/rv740/rv770 and rs880 devices linux matches I could find marketing names for. ok brynet@
2013-01-02regenJonathan Gray
2013-01-02Add the remaining Radeon rv610/rv620/rv630/rv635/rv670,Jonathan Gray
rv710/rv730/rv740/rv770 and rs880 devices linux matches I could find marketing names for. ok brynet@
2012-12-31Spell `calculation' correctly.Miod Vallat
2012-12-31Declare ucom as a DV_TTY class device, not DV_DULL; Alexander PolakovMiod Vallat
2012-12-30add Radeon HD4550Jonathan Gray
from/tested by James Ballantine
2012-12-24In acpiioctl(), Return though the splx() path if suser() returns an errorPhilip Guenthe
ok deraadt@
2012-12-22Add support for U3 brigdes present in macppc G5 machines. Many thanksMartin Pieuchot
to Chris Jackman for sending me a PowerMac G5!
2012-12-21tweak for malloc(9) calls:Gleydson Soares
- M_CANFAIL is useless here since that M_NOWAIT will return NULL immediately if no resources. OK mikeb@ mpi@
2012-12-21regenJasper Lievisse Adriaanse
2012-12-21- add some pcidevs taken from a dmesg on bugs@Jasper Lievisse Adriaanse
ok jsg@
2012-12-20report flow control mode in the media status callbackMike Belopuhov
2012-12-20correctly update the current flow control modeMike Belopuhov
2012-12-20max_frame_size must be set after ether_ifattach updates if_mtu;Mike Belopuhov
verified with the upstream driver
2012-12-19add another umsm device that uses the qualcomm vid. namedJonathan Gray
Aeon 921T by the importer, it isn't clear what the real name is.
2012-12-19regenJonathan Gray
2012-12-19add another umsm deviceJonathan Gray
2012-12-17sync up ixgbe_raise_i2c_clk with freebsd which basically allowsMike Belopuhov
for larger timeouts and should be more reliable; tested on 82598, 82599 and x540.
2012-12-17spacing; sync up ixgbe_bus_speed enum with freebsdMike Belopuhov
2012-12-17Sync up advanced transmitter descriptor setup code to the upstream.Mike Belopuhov
There are a number of bugs that this commit fixes. The main issue is that ixgbe_tx_ctx_setup sets up a descriptor for TCP and UDP checksum calculation, but not for IP, therefore it must use TXSM instead of IXSM. Which is what FreeBSD does now. I've tested this on 82599 with TCP, UDP, ICMP, ICMP6, VLANs and OSPF with TCP and UDP checksums turned on against oce(4). ixgbe_tso_setup is updated as well, albeit remains disabled (as well as checksums themselves). Parts of the change were obtained from brad's diff he sent me a while ago.
2012-12-17sync some comments and variable names in rxeof with freebsdMike Belopuhov
2012-12-17Catch up with upstream, where rxbuf->m_pack was renamed to rxbuf->bufMike Belopuhov
and rxbuf->pmap to rxbuf->map. Tested on 82599 and X540.
2012-12-17Don't forget to decrement a number of clusters on the ring in caseMike Belopuhov
of an error. Previous change made the problem evident.
2012-12-17Get rid of the split header code as it was never used inMike Belopuhov
OpenBSD and now is finally removed from the upstream. No real functional change (we've lost some weight though). Tested on 82599.
2012-12-17Implement SFP+ module hot-plug support for 82599 obtainedMike Belopuhov
from FreeBSD. This also adds untested and hence disabled support for multispeed fiber interrupts. With input from and ok jsg.
2012-12-17Fix a link autonegotiation bug on 10GbaseT controllers and improveMike Belopuhov
link information reporting in general. Obtained for the most part from FreeBSD, tested by mxb at alumni ! chalmers ! se on X540 and me on 82598 (XAUI, KR4), 82599 (SFP+) and X540 (baseT); ok jsg
2012-12-16regenJasper Lievisse Adriaanse
2012-12-16- put the Moxa products where they belong alphabeticallyJasper Lievisse Adriaanse
- add the Validity vendor and some products of which one is found on the vostro 3360. ok mikeb@
2012-12-14Support IT8772F; from form@, ok kettenisMike Belopuhov
2012-12-14regenMartin Pieuchot
2012-12-14Add U3 HyperTransport found in PowerMac7,3, name suggested by kettenis@Martin Pieuchot