Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-07-21 | Call timeout_set() from rl_attach, not rl_init(). From Brad. | Stuart Henderson | |
2009-07-19 | Include 0x4402 in the bbp id mapping table used on older | Jonathan Gray | |
devices. http://bcm-specs.sipsolutions.net/BackPlane agrees. | |||
2009-07-18 | Remove redundant code for setting the maximum frame receive size | Stuart Henderson | |
and fix the appropriate code in gem_init_regs(). From Brad, tested by Brad (sparc64), todd@ (macppc). | |||
2009-07-18 | reorder a switch block, no functional change but reduces the diff | Stuart Henderson | |
with FreeBSD. From Brad. | |||
2009-07-18 | Simplify receive filter handling, from Brad. | Stuart Henderson | |
Tested by Brad on sparc64, todd@ on macppc. | |||
2009-07-18 | Rewrite the ioctl handling code and the receive filter | Stuart Henderson | |
handling to clean up the code and eliminate unnecessary resets. From Brad, promisc tested by Olivier Cherrier, promisc/multicast by me. | |||
2009-07-15 | Removes the magic bit from re_init() and moves the common | Christian Weisgerber | |
flag to the top. No change with the actual cplus mode register setting being used with the controllers. From brad@ | |||
2009-07-14 | Silence ``invalid NVRAM header'' message if the NVRAM header is three zero | Miod Vallat | |
bytes (as encountered on sgi). ok krw@ deraadt@ | |||
2009-07-12 | In a error case in malo_init (e.g. can't load the firmware), | Marcus Glocker | |
always call malo_stop which removes the previously registered interrupt handler from the cardbus interrupt handler chain. Otherwise, since malo_init gets called twice in a error case, our interrupt handler got registered twice and on the next device detach, just the last registered interrupt handler got removed, which leaves one left. That caused a kernel page fault trap as soon our "zombie" interrupt handler got called. Fix a typo while here. | |||
2009-07-12 | Add some missing GEM_SBUS_CONFIG bits. | Mark Kettenis | |
ok miod@, jsg@ | |||
2009-07-11 | Nuke an '__inline' that upset clang. Multi-line function should not | Kenneth R Westerback | |
be inline anyway. Found by jsg@. The last kernel file that clang complains about. ok marco@ jsg@ | |||
2009-07-11 | - Add some new feature flags | Stuart Henderson | |
- Add defines for newer chipsets From FreeBSD via Brad. No functional change, needed for future work. ok naddy@. | |||
2009-07-10 | RL_HWREV_8168DP can be either RTL8168DP or RTL8111DP, so print both, | Stuart Henderson | |
as done for other RTL8168 HWREVs. From Brad. | |||
2009-07-10 | Swap the hardware revision IDs for 8169S and 8110S. Agrees with the | Stuart Henderson | |
labelling on naddy@'s PCI cards. From Brad. | |||
2009-07-10 | timeout_add -> timeout_add_msec | Bret Lambert | |
ok mglocker@ | |||
2009-07-03 | Support RTL8103E and RTL8168DP which are starting to show up, from brad. | Theo de Raadt | |
OK from kettenis and sthen after the diff was minimized to have no potential impact on other chips. | |||
2009-07-01 | Add a workaround for the fact that our clocks aren't running during autoconf | Mark Kettenis | |
(at least on some of our architectures, including hppa). Since isp(4) keeps track of elapsed time to determine if it should continue to wait for the FC link to come up it would wait very very long. Figured out by krw@. ok deraadt@, krw@ | |||
2009-06-29 | Zap isp_inline.h; it is no longer used. | Mark Kettenis | |
ok deraadt@ | |||
2009-06-27 | Remove debug printfs. | Mark Kettenis | |
ok krw@ | |||
2009-06-26 | If we are going to move to the eeprom-based MAC address finding instead of | Theo de Raadt | |
CIS-based... some newer devices have the MAC address at offset 8 instead of offset 3. But we can tell by the first three octets, Intel says. | |||
2009-06-26 | Using information gleamed from the FreeBSD driver, change the MAC address | Theo de Raadt | |
reading to use the eeprom instead of CIS, and then the Xircom Cardbus cards can work in the expresscard adaptor, as pci devices. ok jsg | |||
2009-06-24 | Major update to isp driver, mostly from mjacob via FreeBSD. | Kenneth R Westerback | |
Everything that worked before should still work so in it goes. Newer boards (2300, 2400) may now work but are still a work in progress. Thanks to many testers but especially kettenis@ for finding a show stopper bug and stomping it. ok deraadt@ | |||
2009-06-22 | Tidy up promiscuous mode and multicast handling; tested by Simon Kuhnle | Stuart Henderson | |
and myself. From Brad. | |||
2009-06-11 | Simplify the ioctl handling code. From Brad. | Stuart Henderson | |
Tested by myself and Simon Kuhnle. | |||
2009-06-11 | fix potential use of uninitialized value. | Charles Longeau | |
found by LLVM/Clang Static Analyzer. ok marco@ | |||
2009-06-11 | remove dead assignment and newly created unused variable. | Charles Longeau | |
Found by LLVM/Clang Static Analyzer. ok marco@ | |||
2009-06-10 | Remove (unused) CASSERT macro. Whatever it was intended to be used for, it | Miod Vallat | |
caused severe blood damage to laboratory animals. Not to mention swine flu. | |||
2009-06-06 | - don't mess with assert()/__assert(), use KASSERT() instead | Jasper Lievisse Adriaanse | |
ok jsg@ thib@ | |||
2009-06-06 | Rewrite the SIOCSIFFLAGS ioctl handling code to clean it up a bit and | Christian Weisgerber | |
make it consistent with other drivers. No functional change. From Brad. | |||
2009-06-05 | %zu is not meant for size_t in the kernel. Change to %lu. | Ray Lai | |
OK miod | |||
2009-06-04 | Add missing argument to printf statement. | Ray Lai | |
Found with -Wformat. OK dlg | |||
2009-06-04 | Fix IPv4 rx checksumming for the non-TCP/UDP case. DESCV2 chips | Christian Weisgerber | |
don't set RL_RDESC_STAT_PROTOID for non-TCP/UDP IP packets, only RL_RDESC_IPV[46]. Also check RL_RDESC_IPV[46] before inspecting the TCP/UDP checksum bits to make IPv6 TCP/UDP checksum offload work intentionally. Gleaned from NetBSD. | |||
2009-06-03 | make wireless interfaces priority 4 by default. other interfaces remain | Bob Beck | |
priority 0. while we are in here make sure we add wi interfaces to group "wlan" in the same way the net80211 stuff already is. this makes dhcp multiple default routes useful on laptops. ok claudio@ | |||
2009-06-03 | put the values direct in the array, otherwise the nested macros are longer | Theo de Raadt | |
than standards permit found & ok by jsg | |||
2009-06-03 | mjacob took kettenis's r1.44 into FreeBSD and added a tweak to | Kenneth R Westerback | |
ensure lvdmode is set. Apply that tweak. | |||
2009-06-03 | from Brad; I've read and tested it, also reads ok to dlg@. | Stuart Henderson | |
- Further simplify the re(4) receive filter handling and have everything taken care of in re_iff(), eliminating a bit of code from re_init(). - Remove unused if_flags field. | |||
2009-06-02 | make rl at pci detachable; untested. | Jonathan Gray | |
2009-06-02 | Make fxp at pci detachable; untested. | Jonathan Gray | |
2009-06-02 | make dc at pci detachable; untested. | Jonathan Gray | |
2009-06-02 | let atw at pci be detachable; untested. | Jonathan Gray | |
2009-06-02 | replace custom macro AR5K_ELEMENTS() with nitems() | Reyk Floeter | |
2009-06-02 | If a bogus channel is encountered, return an error instead of trying | Philip Guenthe | |
to use the -1 flag value as an array index. Found by Parfait. ok reyk@ oga@ | |||
2009-06-02 | change a sizeof() to nitems() because the array subtype is a short. | Theo de Raadt | |
change all the N() macros to our favorite new macro nitems() found by Parfait ok oga guenther | |||
2009-06-02 | The xl_detach() function is now used by pci code, so it must be in the | Theo de Raadt | |
shared code in case either cardbus or pci varients are not configured. | |||
2009-05-24 | declare a variable at the start of bwi_dma_free() instead | Jonathan Gray | |
of several times throughout the function, in and outside of a loop. | |||
2009-05-23 | FALL THROUGH -> FALLTHROUGH to appease lint | Jonathan Gray | |
2009-05-18 | fix reading from e-fuse rom (>= RT3070 only). | Damien Bergamini | |
tested by robert@ | |||
2009-05-15 | TOD clock support for IOC3 flavours with DS174x chips (which are rebadged | Miod Vallat | |
MK48Txx). Entangled with preliminary changes which will hopefully eventually lead to power(4) attaching on IP30 (but not finished yet). | |||
2009-05-15 | properly identify the RT3052 radio (dual-band 2T2R) in dmesg. | Damien Bergamini | |
2009-05-11 | properly set unicast to me mask in MAC_ADDR_DW1 register. | Damien Bergamini | |