mirror of
https://github.com/corundum/corundum.git
synced 2025-01-30 08:32:52 +08:00
Move driver-specific code out of mqnic_hw.h
Signed-off-by: Alex Forencich <alex@alexforencich.com>
This commit is contained in:
parent
698fd2f104
commit
cc9d445005
@ -58,6 +58,14 @@
|
||||
|
||||
#include "mqnic_hw.h"
|
||||
|
||||
#ifdef CONFIG_OF
|
||||
/* platform driver OF-related definitions */
|
||||
#define MQNIC_PROP_MAC_ADDR_INC_BYTE "mac-address-increment-byte"
|
||||
#define MQNIC_PROP_MAC_ADDR_INC "mac-address-increment"
|
||||
#define MQNIC_PROP_MAC_ADDR_LOCAL "mac-address-local"
|
||||
#define MQNIC_PROP_MODULE_EEPROM "module-eeproms"
|
||||
#endif
|
||||
|
||||
extern unsigned int mqnic_num_ev_queue_entries;
|
||||
extern unsigned int mqnic_num_tx_queue_entries;
|
||||
extern unsigned int mqnic_num_rx_queue_entries;
|
||||
|
@ -38,14 +38,6 @@
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
#ifdef CONFIG_OF
|
||||
/* platform driver OF-related definitions */
|
||||
#define MQNIC_PROP_MAC_ADDR_INC_BYTE "mac-address-increment-byte"
|
||||
#define MQNIC_PROP_MAC_ADDR_INC "mac-address-increment"
|
||||
#define MQNIC_PROP_MAC_ADDR_LOCAL "mac-address-local"
|
||||
#define MQNIC_PROP_MODULE_EEPROM "module-eeproms"
|
||||
#endif
|
||||
|
||||
#define MQNIC_MAX_IRQ 32
|
||||
|
||||
#define MQNIC_MAX_IF 8
|
||||
|
Loading…
x
Reference in New Issue
Block a user