]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/arcdevice.h
Merge branch 'i2c-for-linus' of git://jdelvare.pck.nerim.net/jdelvare-2.6
[linux-2.6-omap-h63xx.git] / include / linux / arcdevice.h
index 231ba090ae34c0617e54f9f20cf6f2a50a7e14b2..a1916078fd080a3d5ce02728c82d529febb69d23 100644 (file)
@@ -214,7 +214,7 @@ extern struct ArcProto *arc_proto_map[256], *arc_proto_default,
  */
 struct Incoming {
        struct sk_buff *skb;    /* packet data buffer             */
-       uint16_t sequence;      /* sequence number of assembly    */
+       __be16 sequence;        /* sequence number of assembly    */
        uint8_t lastpacket,     /* number of last packet (from 1) */
                numpackets;     /* number of packets in split     */
 };
@@ -283,8 +283,8 @@ struct arcnet_local {
        int next_buf, first_free_buf;
 
        /* network "reconfiguration" handling */
-       time_t first_recon,     /* time of "first" RECON message to count */
-               last_recon;     /* time of most recent RECON */
+       unsigned long first_recon; /* time of "first" RECON message to count */
+       unsigned long last_recon;  /* time of most recent RECON */
        int num_recons;         /* number of RECONs between first and last. */
        bool network_down;      /* do we think the network is down? */
 
@@ -292,7 +292,7 @@ struct arcnet_local {
 
        struct {
                uint16_t sequence;      /* sequence number (incs with each packet) */
-               uint16_t aborted_seq;
+               __be16 aborted_seq;
 
                struct Incoming incoming[256];  /* one from each address */
        } rfc1201;
@@ -334,7 +334,7 @@ void arcnet_dump_skb(struct net_device *dev, struct sk_buff *skb, char *desc);
 #endif
 
 void arcnet_unregister_proto(struct ArcProto *proto);
-irqreturn_t arcnet_interrupt(int irq, void *dev_id, struct pt_regs *regs);
+irqreturn_t arcnet_interrupt(int irq, void *dev_id);
 struct net_device *alloc_arcdev(char *name);
 
 #endif                         /* __KERNEL__ */