[PATCH] libertas: move reset_device() code main.c to if_usb.c
Holger Schurig
hs4233 at mail.mn-solutions.de
Mon Feb 26 11:47:43 EST 2007
> Holger,
>
> This is not true: reset_device() sends the
> HostCmd_CMD_802_11_RESET command to firmware, which is not an
> USB specific thing.
Right, that command is not USB specific. However, for USB it is
needed, and for a CF device it's not needed. The CF device works
quite nice without this, at least as far as I know.
The reason is that I can:
a) always turn the power on off. This actually happens after you
parsed the CIS and know that it's 3.3V or 5V. For an USB device,
nothing fiddles the power add rmmod/modprobe time, the device is
always powered.
b) you can always access all CF registers in whole IO port range.
In the USB device, it seems that not all commands work (e.g. not
the firmware things) after the firmware is loaded and running.
I might be wrong, thought, as my driver doesn't work totally yet.
More information about the libertas-dev
mailing list