diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-10 17:56:22 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-10 17:56:22 -0400 |
commit | 6ed911fb04886c5510a41cd89203b931b1c5d261 (patch) | |
tree | b4ee4111fe5371fb84a0c632b8aa749ae49cc874 /include | |
parent | 64b853aa328f34dd58e4e617cded91e2ddbcac13 (diff) | |
parent | 4ad072c984ebe329c99965ddd1e58b0bb24af12b (diff) |
Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6
* 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6: (40 commits)
bonding/bond_main.c: make 2 functions static
ps3: gigabit ethernet driver for PS3, take3
[netdrvr] Fix dependencies for ax88796 ne2k clone driver
eHEA: Capability flag for DLPAR support
Remove sk98lin ethernet driver.
sunhme.c:quattro_pci_find() must be __devinit
bonding / ipv6: no addrconf for slaves separately from master
atl1: remove write-only var in tx handler
macmace: use "unsigned long flags;"
Cleanup usbnet_probe() return value handling
netxen: deinline and sparse fix
eeprom_93cx6: shorten pulse timing to match spec (bis)
phylib: Add Marvell 88E1112 phy id
phylib: cleanup marvell.c a bit
AX88796 network driver
IOC3: Switch to pci refcounting safe APIs
e100: Fix Tyan motherboard e100 not receiving IPMI commands
QE Ethernet driver writes to wrong register to mask interrupts
rrunner.c:rr_init() must be __devinit
tokenring/3c359.c:xl_init() must be __devinit
...
Diffstat (limited to 'include')
-rw-r--r-- | include/net/ax88796.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/include/net/ax88796.h b/include/net/ax88796.h new file mode 100644 index 000000000000..ee786a043b3d --- /dev/null +++ b/include/net/ax88796.h | |||
@@ -0,0 +1,27 @@ | |||
1 | /* include/net/ax88796.h | ||
2 | * | ||
3 | * Copyright 2005 Simtec Electronics | ||
4 | * Ben Dooks <ben@simtec.co.uk> | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | * | ||
10 | */ | ||
11 | |||
12 | #ifndef __NET_AX88796_PLAT_H | ||
13 | #define __NET_AX88796_PLAT_H | ||
14 | |||
15 | #define AXFLG_HAS_EEPROM (1<<0) | ||
16 | #define AXFLG_MAC_FROMDEV (1<<1) /* device already has MAC */ | ||
17 | |||
18 | struct ax_plat_data { | ||
19 | unsigned int flags; | ||
20 | unsigned char wordlength; /* 1 or 2 */ | ||
21 | unsigned char dcr_val; /* default value for DCR */ | ||
22 | unsigned char rcr_val; /* default value for RCR */ | ||
23 | unsigned char gpoc_val; /* default value for GPOC */ | ||
24 | u32 *reg_offsets; /* register offsets */ | ||
25 | }; | ||
26 | |||
27 | #endif /* __NET_AX88796_PLAT_H */ | ||