master/ethernet.h
branchredundancy
changeset 2341 80c03df98a49
parent 1974 a5a44aa5915d
equal deleted inserted replaced
2340:3f2a4f9ff786 2341:80c03df98a49
    37 #ifndef __EC_ETHERNET_H__
    37 #ifndef __EC_ETHERNET_H__
    38 #define __EC_ETHERNET_H__
    38 #define __EC_ETHERNET_H__
    39 
    39 
    40 #include <linux/list.h>
    40 #include <linux/list.h>
    41 #include <linux/netdevice.h>
    41 #include <linux/netdevice.h>
       
    42 
       
    43 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27)
    42 #include <linux/semaphore.h>
    44 #include <linux/semaphore.h>
       
    45 #else
       
    46 #include <asm/semaphore.h>
       
    47 #endif
    43 
    48 
    44 #include "globals.h"
    49 #include "globals.h"
    45 #include "slave.h"
    50 #include "slave.h"
    46 #include "datagram.h"
    51 #include "datagram.h"
    47 
    52