Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-06-12 | Remove the definition and use of the device_ptr_t which was a struct device *. | Marc Balmer | |
No binary change. ok mk. | |||
2007-06-11 | Remove the definition and usage of the USBGETSOFTC macro, which was really | Marc Balmer | |
only a cast to (void *). ok jsg. | |||
2007-06-10 | Remove the definition and use of the USBDEVNAME macro. | Marc Balmer | |
(This might look easy, but it was a big diff. Thanks to dlg and especially jsg for looking over it; we found at least four mistakes in the initial diff.) ok jsg. | |||
2007-06-10 | Remove the definition and use of the USBDEV macro. It only created confusion | Marc Balmer | |
and the address of it's argument: USBDEV(sc->sc_dev) yields &sc->sc_dev. No binary changes. ok jsg. | |||
2007-06-10 | Remove definitions and usage of usb_callout and related macros. These macros | Marc Balmer | |
were used as a layer of confusion^Wabstraction around the timeout(9) API. No binary change. ok jsg. | |||
2007-06-09 | Remove the definition and use of if_deactivate(). It was defined empty and | Marc Balmer | |
thus produced no code at all. No binary change. ok jsg. | |||
2007-06-05 | Remove the "Static" declaration of many functions. It was defined to be empty | Marc Balmer | |
and it was not consistently used. It was confusing as it suggested these functions were static, which they were not. discussed with dlg and jsg, ok jsg. | |||
2007-05-27 | Farewell USB_{ATTACH,MATCH,DETACH}* you will not be missed. | Jonathan Gray | |
ok deraadt@ krw@ mbalmer@ | |||
2007-05-21 | Remove logprintf macro | Jonathan Gray | |
2007-05-21 | Remove Ether_ifattach macro | Jonathan Gray | |
2007-05-14 | Convert from lockmgr to rwlock. | Jonathan Gray | |
Initial diff from krw@, uneeded lock_mii()/unlock_mii() on all commands in existing code removed by me so it doesn't try to recurse. ok krw@ | |||
2007-05-05 | Remove axe_rxstart() which is an uneeded leftover from the FreeBSD version. | Jonathan Gray | |
2007-04-26 | USB device lists do not need a terminating sentinel, so don't provide any; | Miod Vallat | |
this should prevent phantom devices from attaching axe or uberry on some machines. ok deraadt@ | |||
2007-04-09 | Assert my copyright for the AX88178/AX88772 bits over the last few years. | Jonathan Gray | |
2007-04-09 | Remove any possibility of of an underflow happening when | Jonathan Gray | |
pulling packets out of the usb buffer in rxeof. Potential issue pointed out by Hans Petter Selasky <hselasky@c2i.net> | |||
2007-04-09 | Add missing letoh16() for eeprom value. | Jonathan Gray | |
Pointed out by Hans Petter Selasky <hselasky@c2i.net> | |||
2007-02-17 | Add some additional device ids found in Linux driver. | Jonathan Gray | |
2007-01-18 | Add a bunch of as yet untested AX88178 devices. | Jonathan Gray | |
2007-01-18 | Add support for AX88772 devices with external PHY. | Jonathan Gray | |
Thanks to Marco S Hyman for sending me hardware to play with. Committed over DUB-E100 rev B1 with external IC Plus PHY. | |||
2006-12-07 | some cleanup for axe(4): | Reyk Floeter | |
- remove IFF_RUNNING check from axe_init() and check for the appropriate condition before calling axe_init(). - check for MTU too small, as done everywhere else. - remove unnecessary setting of error to 0, its initialized to 0 in axe_ioctl(). - use the IFQ_IS_EMPTY macro in axe_watchdog(). ok brad@ | |||
2006-12-04 | avoid unnecessary copies (memcpy(x, x, n)) in the TX path. | Damien Bergamini | |
"works fine, even under high load" reyk@ | |||
2006-10-03 | don't use IF_PREPEND() on altq's. | Damien Bergamini | |
use IFQ_POLL()/IFQ_DEQUEUE() logic instead as described in altq(4). tested by jolan@ on macppc "diffs look ok" brad@ | |||
2006-07-09 | get rid of some ifdef __otherbsd__ goo. no binary change | David Gwynne | |
2006-06-23 | In a drivers activate() entry point, if on DVACT_DEACTIVATE it does | Miod Vallat | |
something, then it MUST return zero on DVACT_ACTIVATE, not EOPNOTSUPP; this very popular bug has been cut and pasted a lot of times... ok deraadt@ mickey@ | |||
2006-06-01 | Pass the value of IPG2 to the AX88178 in the index register. | Christopher Pascoe | |
2006-06-01 | KNF. | Christopher Pascoe | |
2006-06-01 | Whitespace cleanup. | Christopher Pascoe | |
2006-04-23 | Remove superfluous use of usb_callout_init() (== timeout_set()). | Kenneth R Westerback | |
Superfluous because the immediately following usb_callout() does the same timeout_set(). And superfluous because the same usb_callout_init was done during attach. ok dlg@ | |||
2006-04-13 | free mem if attach fails; netbsd coverity cid 2329 | Jolan Luff | |
ok dlg@ | |||
2006-03-25 | allow bpf(4) to ignore packets based on their direction (inbound or | Damien Miller | |
outbound), using a new BIOCSDIRFILT ioctl; guidance, feedback and ok canacar@ | |||
2006-03-07 | Remove last NRND NetBSDisms from tree. | Kenneth R Westerback | |
ok deraadt@ brad@ | |||
2006-01-29 | Use usbd_clear_endpoint_stall_async() when clearing endpoint stalls in | Brad Smith | |
an interrupt context. From NetBSD ok dlg@ | |||
2006-01-10 | fix axe on big endian archs. for jolan | David Gwynne | |
2005-12-21 | Don't try to predict what different eeprom settings mean | Jonathan Gray | |
so much, makes the Level One AX88178 adapter work. Interestingly enough the Level One adapter seems to work fine without stalls. Though it uses ukphy, I think the correct phy types are supposed to be written in by the driver based on the values in the eeprom... | |||
2005-12-09 | Mention which chipset devices use on attach. | Jonathan Gray | |
2005-11-29 | Add support for ASIX AX88772 10/100 based adapters which are very similiar | Jonathan Gray | |
to the gigabit AX88178 but with a different initialisation routine because the PHY is not external. Man page changes reviewed by jmc@ and oxford commas added per his sugestion. Thanks to Bruno Scap for donating an adapter. | |||
2005-09-27 | enable support for gigabit adapters; it works reliably with USB1 but | Jolan Luff | |
seems to stall under some conditions with USB2 so you may wish to disable ehci in the mean time ok dlg@ jsg@ | |||
2005-08-29 | Handle AX88178 on 12 Mbit USB controllers such as ohci & uhci more | Jonathan Gray | |
gracefully. ok dlg@ permission granted by deraadt@ | |||
2005-08-28 | The AX88178 sends multiple frames per USB transfer | Jonathan Gray | |
and has extra bytes and rules to deal with this. Initial rxeof/encap changes by me, dlg@ rewrote axe_rxeof and axe_newbuf from scratch and cleaned up encap so they can jump over buildings in a single bound and be more elegant/readable. ok deraadt@ | |||
2005-08-28 | We don't need to do a PHY select for AX88178 but we should | Jonathan Gray | |
do a generic soft reset before doing a specific one. ok dlg@ deraadt@ | |||
2005-08-28 | Write back IPG values in a manner more likely to work. | Jonathan Gray | |
ok dlg@ deraadt@ | |||
2005-08-28 | Tell the AX88178 to give us the full transaction size. | Jonathan Gray | |
ok dlg@ deraadt@ | |||
2005-08-28 | Account for larger USB transaction size of AX88178 by | Jonathan Gray | |
making the size a member of the softc. ok dlg@ deraadt@ | |||
2005-08-28 | We have to do some extra hand holding on link state change | Jonathan Gray | |
on the AX88178 because of the external PHY. ok dlg@ deraadt@ | |||
2005-08-12 | Add some delays in the GPIO code so AX88178 phy gets powered up. | Jonathan Gray | |
Suggested by ASIX. | |||
2005-08-11 | Only match AX88178 if AXE_DEBUG is defined for the moment. | Jonathan Gray | |
2005-08-10 | Some of the bits that will be required for AX88178. | Jonathan Gray | |
PHY doesn't attach possibly due to not twiddling GPIO pins correctly, rx and tx pipes being swapped not dealt with yet. | |||
2005-08-01 | Don't keep the devinfo string on the stack, instead use malloc/free. | Brad Smith | |
This should cure some rare stack overflows. From augustss NetBSD ok dlg@ pascoe@ | |||
2005-07-18 | Good Way GWUSB2E Ethernet, found in Good Way USB docking stations. | Jonathan Gray | |
ID from <david-b () pacbell ! net> via Linux driver. | |||
2005-07-02 | clear IFF_RUNNING & IFF_OACTIVE in foo_stop() before de-allocating resources. | Brad Smith | |