OpenWrt – Blame information for rev 4
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
4 | office | 1 | /* |
2 | * Compex's MyLoader specific definitions |
||
3 | * |
||
4 | * Copyright (C) 2006-2008 Gabor Juhos <juhosg@openwrt.org> |
||
5 | * |
||
6 | * This program is free software; you can redistribute it and/or modify it |
||
7 | * under the terms of the GNU General Public License version 2 as published |
||
8 | * by the Free Software Foundation. |
||
9 | * |
||
10 | */ |
||
11 | |||
12 | #ifndef _ASM_MIPS_FW_MYLOADER_H |
||
13 | #define _ASM_MIPS_FW_MYLOADER_H |
||
14 | |||
15 | #include <linux/myloader.h> |
||
16 | |||
17 | struct myloader_info { |
||
18 | uint32_t vid; |
||
19 | uint32_t did; |
||
20 | uint32_t svid; |
||
21 | uint32_t sdid; |
||
22 | uint8_t macs[MYLO_ETHADDR_COUNT][6]; |
||
23 | }; |
||
24 | |||
25 | #ifdef CONFIG_MYLOADER |
||
26 | extern struct myloader_info *myloader_get_info(void) __init; |
||
27 | #else |
||
28 | static inline struct myloader_info *myloader_get_info(void) |
||
29 | { |
||
30 | return NULL; |
||
31 | } |
||
32 | #endif /* CONFIG_MYLOADER */ |
||
33 | |||
34 | #endif /* _ASM_MIPS_FW_MYLOADER_H */ |