spider-net: declare MODULE_FIRMWARE
Subsystems (2)
PATCH 43/75 spider-net: declare MODULE_FIRMWARE
--- drivers/net/spider_net.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/net/spider_net.c +1 -0
@@ -57,6 +57,7 @@ MODULE_AUTHOR("Utz Bacher <[email protected]> and Jens Osterkamp " \MODULE_DESCRIPTION ("Spider Southbridge Gigabit Ethernet driver" );MODULE_LICENSE ("GPL" );MODULE_VERSION (VERSION ); +MODULE_FIRMWARE (SPIDER_NET_FIRMWARE_NAME );static int rx_descriptors =SPIDER_NET_RX_DESCRIPTORS_DEFAULT ;static int tx_descriptors =SPIDER_NET_TX_DESCRIPTORS_DEFAULT ;
Signature · 1 line
1.6.5.2
Quoted 15 lines · Ben Hutchings
Signed-off-by Ben Hutchings <[email protected]>--- drivers/net/spider_net.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)drivers/net/spider_net.c +0
-0@@ -57,6 +57,7 @@ MODULE_AUTHOR("Utz Bacher <[email protected]> andJens Osterkamp " \
MODULE_DESCRIPTION("Spider Southbridge Gigabit Ethernet driver");MODULE_LICENSE("GPL");
MODULE_VERSION(VERSION);
+MODULE_FIRMWARE(SPIDER_NET_FIRMWARE_NAME);
Quoted 2 lines
static int
rx_descriptors=SPIDER_NET_RX_DESCRIPTORS_DEFAULT; static inttx_descriptors=SPIDER_NET_TX_DESCRIPTORS_DEFAULT;
In spider_net, the filesystem is checked for a valid firmware first, if it does not exist, the firmware is taken from the device tree (which is the default case).
Do you expect this behaviour to cause problems together with MODULE_FIRMWARE ?
Signature · 9 lines
Best regards, Jens Osterkamp -------------------------------------------------------------------------------- IBM Deutschland Research & Development GmbH Vorsitzender des Aufsichtsrats: Martin Jetter Geschäftsführung: Erich Baier Sitz der Gesellschaft: Böblingen Registergericht: Amtsgericht Stuttgart, HRB 243294
David Miller
maintainerFrom: Jens Osterkamp <[email protected]>
Date: Mon, 9 Nov 2009 12:58:13 +0100
Quoted 5 lines
In
spider_net, the filesystem is checked for a valid firmware first, if it does not exist, the firmware is taken from the device tree (which is the default case).Do you expect this behaviour to cause problems together with
MODULE_FIRMWARE?
I think it should be OK.
From: Ben Hutchings <[email protected]>
Date: Sat, 07 Nov 2009 21:55:07 +0000
Quoted 1 line
Signed-off-by Ben Hutchings <[email protected]>
Applied to net-next-2.6