|
读代码的时候好多地方看不太懂呢。。。
e.g:
[code:1]225 static struct {
226 const char *name;
227 u32 hw_flags;
228 } board_info[] __devinitdata = {
[color=red] /*这里 devinitdata前面为什么要用两个下划线'__'呢?*/[/color]
229 { "RealTek RTL8139 Fast Ethernet", RTL8139_CAPS },
230 { "RealTek RTL8139B PCI/CardBus", RTL8139_CAPS },
231 { "SMC1211TX EZCard 10/100 (RealTek RTL8139)", RTL8139_CAPS },
232 /* { MPX5030, "Accton MPX5030 (RealTek RTL8139)", RTL8139_CAPS },*/
233 { "Delta Electronics 8139 10/100BaseTX", RTL8139_CAPS },
234 { "Addtron Technolgy 8139 10/100BaseTX", RTL8139_CAPS },
235 { "D-Link DFE-538TX (RealTek RTL8139)", RTL8139_CAPS },
236 { "D-Link DFE-690TXD (RealTek RTL8139)", RTL8139_CAPS },
237 { "AboCom FE2000VX (RealTek RTL8139)", RTL8139_CAPS },
238 { "Allied Telesyn 8139 CardBus", RTL8139_CAPS },
239 { "RealTek RTL8129", RTL8129_CAPS },
240 };
241[/code:1] |
|