summaryrefslogtreecommitdiff
path: root/kernel/wait.c
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2013-02-07 05:37:37 +0000
committerDavid S. Miller <davem@davemloft.net>2013-02-07 23:47:01 -0500
commit180996c30517b5374f63df3c9765716c5b477155 (patch)
tree0fad019ca8b54e226a8c5a6e48fc476d9f33b757 /kernel/wait.c
parent241448c2b84ff02a46ce88199e05fdeb55bad449 (diff)
ssb: get mac address from sprom struct for gige driver
The mac address is already stored in the sprom structure by the platform code of the SoC this Ethernet core is found on, it just has to be fetched from this structure instead of accessing the nvram here. This patch also adds a return value to indicate if a mac address could be fetched from the sprom structure. When CONFIG_SSB_DRIVER_GIGE is not set the header file now also declares ssb_gige_get_macaddr(). Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Acked-by: Michael Buesch <m@bues.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/wait.c')
0 files changed, 0 insertions, 0 deletions