* Write to card's Host Adapter Command Register. Include a delay for
* those times when it is needed.
*/
* Write to card's Host Adapter Command Register. Include a delay for
* those times when it is needed.
*/
{
hacr_write(ioaddr, hacr);
/* delay might only be needed sometimes */
{
hacr_write(ioaddr, hacr);
/* delay might only be needed sometimes */
* Routine to write bytes to the Modem Management Controller.
* We start at the end because it is the way it should be!
*/
* Routine to write bytes to the Modem Management Controller.
* We start at the end because it is the way it should be!
*/
-static inline void mmc_write(unsigned long ioaddr, u8 o, u8 * b, int n)
+static void mmc_write(unsigned long ioaddr, u8 o, u8 * b, int n)
* Read a byte from the MMC.
* Optimised version for 1 byte, avoid using memory.
*/
* Read a byte from the MMC.
* Optimised version for 1 byte, avoid using memory.
*/
fee_wait(ioaddr, 10, 100);
#endif /* EEPROM_IS_PROTECTED */
}
fee_wait(ioaddr, 10, 100);
#endif /* EEPROM_IS_PROTECTED */
}
* Set channel attention bit and busy wait until command has
* completed, then acknowledge completion of the command.
*/
* Set channel attention bit and busy wait until command has
* completed, then acknowledge completion of the command.
*/
* Configuration commands completion interrupt.
* Check if done, and if OK.
*/
* Configuration commands completion interrupt.
* Check if done, and if OK.
*/
mmc_read(ioaddr, 0, (u8 *) & m, sizeof(m));
mmc_out(ioaddr, mmwoff(0, mmw_freeze), 0);
mmc_read(ioaddr, 0, (u8 *) & m, sizeof(m));
mmc_out(ioaddr, mmwoff(0, mmw_freeze), 0);
/* Don't forget to update statistics */
lp->wstats.discard.nwid +=
(m.mmr_wrong_nwid_h << 8) | m.mmr_wrong_nwid_l;
/* Don't forget to update statistics */
lp->wstats.discard.nwid +=
(m.mmr_wrong_nwid_h << 8) | m.mmr_wrong_nwid_l;
* This is the information which is displayed by the driver at startup.
* There are lots of flags for configuring it to your liking.
*/
* This is the information which is displayed by the driver at startup.
* There are lots of flags for configuring it to your liking.
*/
iw_freq * list, /* List of frequencies to fill */
int max)
{ /* Maximum number of frequencies */
iw_freq * list, /* List of frequencies to fill */
int max)
{ /* Maximum number of frequencies */
* Note: if any errors occur, the packet is "dropped on the floor".
* (called by wv_packet_rcv())
*/
* Note: if any errors occur, the packet is "dropped on the floor".
* (called by wv_packet_rcv())
*/
wv_packet_read(struct net_device * dev, u16 buf_off, int sksize)
{
net_local *lp = (net_local *) dev->priv;
wv_packet_read(struct net_device * dev, u16 buf_off, int sksize)
{
net_local *lp = (net_local *) dev->priv;
dev->wireless_handlers = &wavelan_handler_def;
lp->wireless_data.spy_data = &lp->spy_data;
dev->wireless_data = &lp->wireless_data;
dev->wireless_handlers = &wavelan_handler_def;
lp->wireless_data.spy_data = &lp->spy_data;
dev->wireless_data = &lp->wireless_data;