diff options
author | Ananda Raju <Ananda.Raju@neterion.com> | 2006-04-21 19:05:41 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-05-02 15:16:36 -0400 |
commit | 9dc737a77353920a67337aa627f7d9dae8dade05 (patch) | |
tree | b87c69eb07c905791c68b7b976b72b31712ac621 /drivers/net/s2io.h | |
parent | 863c11a91e4507c3ff44783a75a5433c8cf7700e (diff) |
[PATCH] s2io: input parms, output messages update
hi,
This patch contains the modification and bug fixes with respect to
input parameters and outupt dmesages. following is brief description
of the changes.
1. Set default values for rx_ring_sz[0..7] and tx_fifo_len[0..7]
2. verify few basic load parameters
3. read product description from VPD
4. clean up of dmesg when driver is loaded
Signed-off-by: Ananda Raju <ananda.raju@neterion.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/s2io.h')
-rw-r--r-- | drivers/net/s2io.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/net/s2io.h b/drivers/net/s2io.h index 0a0b5b29d81e..a83a1d85f72e 100644 --- a/drivers/net/s2io.h +++ b/drivers/net/s2io.h | |||
@@ -659,9 +659,10 @@ typedef struct { | |||
659 | } usr_addr_t; | 659 | } usr_addr_t; |
660 | 660 | ||
661 | /* Default Tunable parameters of the NIC. */ | 661 | /* Default Tunable parameters of the NIC. */ |
662 | #define DEFAULT_FIFO_LEN 4096 | 662 | #define DEFAULT_FIFO_0_LEN 4096 |
663 | #define SMALL_BLK_CNT 30 | 663 | #define DEFAULT_FIFO_1_7_LEN 512 |
664 | #define LARGE_BLK_CNT 100 | 664 | #define SMALL_BLK_CNT 30 |
665 | #define LARGE_BLK_CNT 100 | ||
665 | 666 | ||
666 | /* | 667 | /* |
667 | * Structure to keep track of the MSI-X vectors and the corresponding | 668 | * Structure to keep track of the MSI-X vectors and the corresponding |
@@ -824,6 +825,8 @@ struct s2io_nic { | |||
824 | spinlock_t rx_lock; | 825 | spinlock_t rx_lock; |
825 | atomic_t isr_cnt; | 826 | atomic_t isr_cnt; |
826 | u64 *ufo_in_band_v; | 827 | u64 *ufo_in_band_v; |
828 | #define VPD_PRODUCT_NAME_LEN 50 | ||
829 | u8 product_name[VPD_PRODUCT_NAME_LEN]; | ||
827 | }; | 830 | }; |
828 | 831 | ||
829 | #define RESET_ERROR 1; | 832 | #define RESET_ERROR 1; |