diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-07 22:21:56 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-07 22:21:56 -0500 |
commit | 7677ced48e2bbbb8d847d34f37e5d96d2b0e41e4 (patch) | |
tree | 0a859f403c02eb854d9ffa11bd17f77056891d07 /drivers/net/s2io-regs.h | |
parent | 21d37bbc65e39a26856de6b14be371ff24e0d03f (diff) | |
parent | ac38dfc39e7684f55174742e5f0d6c5a0093bbf6 (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: (116 commits)
sk98lin: planned removal
AT91: MACB support
sky2: version 1.12
sky2: add new chip ids
sky2: Yukon Extreme support
sky2: safer transmit timeout
sky2: TSO support for EC_U
sky2: use dev_err for error reports
sky2: add Wake On Lan support
fix unaligned exception in /drivers/net/wireless/orinoco.c
Remove unused kernel config option DLCI_COUNT
z85230: spinlock logic
mips: declance: Driver model for the PMAD-A
Spidernet: Rework RX linked list
NET: turn local_save_flags() + local_irq_disable() into local_irq_save()
NET-3c59x: turn local_save_flags() + local_irq_disable() into local_irq_save()
hp100: convert pci_module_init() to pci_register_driver()
NetXen: Added ethtool support for user level tools.
NetXen: Firmware crb init changes.
maintainers: add atl1 maintainers
...
Diffstat (limited to 'drivers/net/s2io-regs.h')
-rw-r--r-- | drivers/net/s2io-regs.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/net/s2io-regs.h b/drivers/net/s2io-regs.h index a914fef44309..0e345cbc2bf9 100644 --- a/drivers/net/s2io-regs.h +++ b/drivers/net/s2io-regs.h | |||
@@ -15,7 +15,7 @@ | |||
15 | 15 | ||
16 | #define TBD 0 | 16 | #define TBD 0 |
17 | 17 | ||
18 | typedef struct _XENA_dev_config { | 18 | struct XENA_dev_config { |
19 | /* Convention: mHAL_XXX is mask, vHAL_XXX is value */ | 19 | /* Convention: mHAL_XXX is mask, vHAL_XXX is value */ |
20 | 20 | ||
21 | /* General Control-Status Registers */ | 21 | /* General Control-Status Registers */ |
@@ -300,6 +300,7 @@ typedef struct _XENA_dev_config { | |||
300 | u64 gpio_control; | 300 | u64 gpio_control; |
301 | #define GPIO_CTRL_GPIO_0 BIT(8) | 301 | #define GPIO_CTRL_GPIO_0 BIT(8) |
302 | u64 misc_control; | 302 | u64 misc_control; |
303 | #define FAULT_BEHAVIOUR BIT(0) | ||
303 | #define EXT_REQ_EN BIT(1) | 304 | #define EXT_REQ_EN BIT(1) |
304 | #define MISC_LINK_STABILITY_PRD(val) vBIT(val,29,3) | 305 | #define MISC_LINK_STABILITY_PRD(val) vBIT(val,29,3) |
305 | 306 | ||
@@ -851,9 +852,9 @@ typedef struct _XENA_dev_config { | |||
851 | #define SPI_CONTROL_DONE BIT(6) | 852 | #define SPI_CONTROL_DONE BIT(6) |
852 | u64 spi_data; | 853 | u64 spi_data; |
853 | #define SPI_DATA_WRITE(data,len) vBIT(data,0,len) | 854 | #define SPI_DATA_WRITE(data,len) vBIT(data,0,len) |
854 | } XENA_dev_config_t; | 855 | }; |
855 | 856 | ||
856 | #define XENA_REG_SPACE sizeof(XENA_dev_config_t) | 857 | #define XENA_REG_SPACE sizeof(struct XENA_dev_config) |
857 | #define XENA_EEPROM_SPACE (0x01 << 11) | 858 | #define XENA_EEPROM_SPACE (0x01 << 11) |
858 | 859 | ||
859 | #endif /* _REGS_H */ | 860 | #endif /* _REGS_H */ |