summaryrefslogtreecommitdiffstats
path: root/sys/dev/ffec
Commit message (Collapse)AuthorAgeFilesLines
* Fix another bug in multicast filtering. i.MX uses 6 bits from MSB inhrs2014-03-081-2/+3
| | | | | | | LE CRC32 for the hash value, not the lowest 6 bits in BE CRC32. Tested by: Takanori Sawada PR: arm/187179
* Fix multicast filtering.hrs2014-03-041-1/+1
| | | | | Submitted by: Takanori Sawada PR: arm/187179
* Follow r261352 by updating all drivers which are children of simplebusian2014-02-021-0/+3
| | | | | | | | | | | | | to check the status property in their probe routines. Simplebus used to only instantiate its children whose status="okay" but that was improper behavior, fixed in r261352. Now that it doesn't check anymore and probes all its children; the children all have to do the check because really only the children know how to properly interpret their status property strings. Right now all existing drivers only understand "okay" versus something- that's-not-okay, so they all use the new ofw_bus_status_okay() helper.
* ENET on Vybrid Family SoC don't advertise its media capabilitiesbr2014-01-041-3/+5
| | | | | | | | themselves properly, so force auto-negotiation. Tested on mvf600. Reviewed by: ian
* Fix undefined behavior: (1 << 31) is not defined as 1 is an int and thiseadler2013-11-301-5/+5
| | | | | | | | | | | | | shifts into the sign bit. Instead use (1U << 31) which gets the expected result. This fix is not ideal as it assumes a 32 bit int, but does fix the issue for most cases. A similar change was made in OpenBSD. Discussed with: -arch, rdivacky Reviewed by: cperciva
* Switch to using ofw_bus_search_compatible() table-driven compat lookup.ian2013-10-261-23/+42
| | | | Add compat strings for Freescale Vybrid family SoCs.
* Mask out non-address bits in the mac address register, for properian2013-10-221-2/+1
| | | | | | detection of an all-zeroes address. Also remove a misplaced return. Reviewed by: br@
* Add a driver for the Freescale Fast Ethernet Controller found on variousian2013-10-202-0/+2043
Freescale SoCs including the i.MX series. This also works for the newer SoCs with the ENET gigabit controller, but doesn't use any of the new hardware features other than enabling gigabit speed.
OpenPOWER on IntegriCloud