Skip to content

Commit

Permalink
[PATCH] libertas: remove SUPPORT_BOOT_COMMAND
Browse files Browse the repository at this point in the history
Remove the static definition of SUPPORT_BOOT_COMMAND.

Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de>
Acked-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Dan Williams authored and John W. Linville committed May 11, 2007
1 parent 4b19fcc commit 4f3465f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
3 changes: 1 addition & 2 deletions drivers/net/wireless/libertas/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ EXTRA_CFLAGS += -DDEBUG -DPROC_DEBUG
endif


# This is needed to support the newer boot2 bootloader (v >= 3104)
EXTRA_CFLAGS += -DSUPPORT_BOOT_COMMAND
#EXTRA_CFLAGS +=
usb8xxx-objs += if_bootcmd.o
usb8xxx-objs += if_usb.o

Expand Down
2 changes: 0 additions & 2 deletions drivers/net/wireless/libertas/if_usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -775,7 +775,6 @@ int libertas_sbi_prog_firmware(wlan_private * priv)
return -1;
}

#ifdef SUPPORT_BOOT_COMMAND
cardp->bootcmdresp = 0;
do {
int j = 0;
Expand All @@ -796,7 +795,6 @@ int libertas_sbi_prog_firmware(wlan_private * priv)
}
return -1;
}
#endif

i = 0;
priv->adapter->fw_ready = 0;
Expand Down
2 changes: 0 additions & 2 deletions drivers/net/wireless/libertas/if_usb.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#define USB8388_VID_2 0x05a3
#define USB8388_PID_2 0x8388

#ifdef SUPPORT_BOOT_COMMAND
#define BOOT_CMD_FW_BY_USB 0x01
#define BOOT_CMD_FW_IN_EEPROM 0x02
#define BOOT_CMD_UPDATE_BOOT2 0x03
Expand All @@ -36,7 +35,6 @@ struct bootcmdrespStr
u8 u8result;
u8 au8dumy[2];
};
#endif /* SUPPORT_BOOT_COMMAND */

/* read callback private data */
struct read_cb_info {
Expand Down

0 comments on commit 4f3465f

Please sign in to comment.