summaryrefslogtreecommitdiff
path: root/sys/dev/usb/if_axe.c
AgeCommit message (Collapse)Author
2006-07-09get rid of some ifdef __otherbsd__ goo. no binary changeDavid Gwynne
2006-06-23In a drivers activate() entry point, if on DVACT_DEACTIVATE it doesMiod 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-01Pass the value of IPG2 to the AX88178 in the index register.Christopher Pascoe
2006-06-01KNF.Christopher Pascoe
2006-06-01Whitespace cleanup.Christopher Pascoe
2006-04-23Remove 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-13free mem if attach fails; netbsd coverity cid 2329Jolan Luff
ok dlg@
2006-03-25allow bpf(4) to ignore packets based on their direction (inbound orDamien Miller
outbound), using a new BIOCSDIRFILT ioctl; guidance, feedback and ok canacar@
2006-03-07Remove last NRND NetBSDisms from tree.Kenneth R Westerback
ok deraadt@ brad@
2006-01-29Use usbd_clear_endpoint_stall_async() when clearing endpoint stalls inBrad Smith
an interrupt context. From NetBSD ok dlg@
2006-01-10fix axe on big endian archs. for jolanDavid Gwynne
2005-12-21Don't try to predict what different eeprom settings meanJonathan 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-09Mention which chipset devices use on attach.Jonathan Gray
2005-11-29Add support for ASIX AX88772 10/100 based adapters which are very similiarJonathan 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-27enable support for gigabit adapters; it works reliably with USB1 butJolan 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-29Handle AX88178 on 12 Mbit USB controllers such as ohci & uhci moreJonathan Gray
gracefully. ok dlg@ permission granted by deraadt@
2005-08-28The AX88178 sends multiple frames per USB transferJonathan 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-28We don't need to do a PHY select for AX88178 but we shouldJonathan Gray
do a generic soft reset before doing a specific one. ok dlg@ deraadt@
2005-08-28Write back IPG values in a manner more likely to work.Jonathan Gray
ok dlg@ deraadt@
2005-08-28Tell the AX88178 to give us the full transaction size.Jonathan Gray
ok dlg@ deraadt@
2005-08-28Account for larger USB transaction size of AX88178 byJonathan Gray
making the size a member of the softc. ok dlg@ deraadt@
2005-08-28We have to do some extra hand holding on link state changeJonathan Gray
on the AX88178 because of the external PHY. ok dlg@ deraadt@
2005-08-12Add some delays in the GPIO code so AX88178 phy gets powered up.Jonathan Gray
Suggested by ASIX.
2005-08-11Only match AX88178 if AXE_DEBUG is defined for the moment.Jonathan Gray
2005-08-10Some 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-01Don'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-18Good Way GWUSB2E Ethernet, found in Good Way USB docking stations.Jonathan Gray
ID from <david-b () pacbell ! net> via Linux driver.
2005-07-02clear IFF_RUNNING & IFF_OACTIVE in foo_stop() before de-allocating resources.Brad Smith
2005-07-02don't call mii_pollstat() right after mii_tick() in foo_tick_task()Brad Smith
2005-06-08remove netns crud.Henning Brauer
some drivers actually had hooks for SIOCSIFADDR, most just useless includes "looks good" deraadt miod brad
2005-03-14support jvc mp-prx1; iedowseTheo de Raadt
2005-02-12Additional axe devices found in Linux driver.Jonathan Gray
2005-01-03- make sure int is in running state before touching the multicast filtersBrad Smith
- call foo_setmulti only instead of init'ing the chip - don't overwrite potential error return with success when calling ether_addmulti/ether_delmulti ok dlg@
2004-12-31fixes so axe can work on big endian machinesDavid Gwynne
2004-11-11from netbsd, if_axe.c revision 1.6David Gwynne
When adding/deleting multicast addresses, only whack the address filter if the interface is marked RUNNING.
2004-11-11the other half of the changes from netbsds if_axe.c revision 1.5:David Gwynne
Set full duplex mode when status tells us to.
2004-11-11half of the changes from netbsds if_axe.c revision 1.5:David Gwynne
Protect MII reads and writes properly against multiple access.
2004-11-11from netbsd, if_axe.c revision 1.5David Gwynne
Dont use lockmgr() from interrupt context.
2004-11-11from netbsd revisions 1.2 and 1.3David Gwynne
revision 1.2 Alphabetize the supported device list. revision 1.3 Get rid of an oddly placed assert().
2004-11-11make setup of the rx transfers consistentDavid Gwynne
2004-11-10add support for the Conceptronic SnapPort USB 2.0 LAN AdapterDavid Gwynne
thanks go to Paul de Weerd for providing the hardware
2004-11-10strncpy->strlcpyAlexander Yurchenko
ok henning@
2004-10-04COREGA_FETHER_USB2_TX; tested by meTheo de Raadt
2004-10-01add some missing $, ok djm@ 'That looks fine to me' millert@Jonathan Gray
2004-09-23don't need to set ifp->if_mtu or ifp->if_output in each driver,Brad Smith
{ether,atm,fddi}_ifattach already does this. ok mcbride@ markus@ henning@
2004-09-18match the new IDTheo de Raadt
2004-08-30from freebsd via Jonathan GrayDavid Gwynne
"Use the USBD_FORCE_SHORT_XFER flag when setting up transmit transfers. Without this, the device cannot detect the end of ethernet packets whose size is a multiple of the USB packat size. ok deraadt@
2004-07-20typoTheo de Raadt
2004-07-20another new device; shin@happynet.co.jpTheo de Raadt
2004-07-08put "do { } while (0)" wrappers on all the debug maroc functionsTheo de Raadt