devices/e1000e/e1000-2.6.34-ethercat.h
changeset 2138 3788dad522ef
parent 2091 37dd9b8dc33a
child 2419 fdb85a806585
equal deleted inserted replaced
2132:1331c5b88579 2138:3788dad522ef
    39 #include <linux/pci.h>
    39 #include <linux/pci.h>
    40 #include <linux/pci-aspm.h>
    40 #include <linux/pci-aspm.h>
    41 
    41 
    42 #include "hw-2.6.34-ethercat.h"
    42 #include "hw-2.6.34-ethercat.h"
    43 
    43 
    44 /* Ethecat header file */
    44 /* EtherCAT header file */
    45 #include "../ecdev.h"
    45 #include "../ecdev.h"
    46 
    46 
    47 struct e1000_info;
    47 struct e1000_info;
    48 
    48 
    49 /* Ethecat */
    49 /* EtherCAT */
    50 #define e_printk(level, adapter, format, arg...) \
    50 #define e_printk(level, adapter, format, arg...) \
    51 	printk(level "ec_%s: %s: " format, pci_name(adapter->pdev), \
    51 	printk(level "ec_%s: %s: " format, pci_name(adapter->pdev), \
    52 	       adapter->netdev->name, ## arg)
    52 	       adapter->netdev->name, ## arg)
    53 
    53 
    54 #ifdef DEBUG
    54 #ifdef DEBUG