Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 79264
b: refs/heads/master
c: 9045840
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro authored and David S. Miller committed Jan 28, 2008
1 parent 9452601 commit 76c0ec8
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a3edb08311fc559652ffc959e93eb5be9294443f
refs/heads/master: 904584018e9ba30a3e562d86ee7dfb6239105664
2 changes: 1 addition & 1 deletion trunk/drivers/net/wan/hdlc_ppp.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ static inline struct ppp_state* state(hdlc_device *hdlc)
static int ppp_open(struct net_device *dev)
{
hdlc_device *hdlc = dev_to_hdlc(dev);
void *old_ioctl;
int (*old_ioctl)(struct net_device *, struct ifreq *, int);
int result;

dev->priv = &state(hdlc)->syncppp_ptr;
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/net/wan/hdlc_raw_eth.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ static int raw_eth_ioctl(struct net_device *dev, struct ifreq *ifr)
raw_hdlc_proto new_settings;
hdlc_device *hdlc = dev_to_hdlc(dev);
int result;
void *old_ch_mtu;
int (*old_ch_mtu)(struct net_device *, int);
int old_qlen;

switch (ifr->ifr_settings.type) {
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/net/wan/lmc/lmc_proto.c
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ void lmc_proto_close(lmc_softc_t *sc) /*FOLD00*/
lmc_trace(sc->lmc_device, "lmc_proto_close out");
}

unsigned short lmc_proto_type(lmc_softc_t *sc, struct sk_buff *skb) /*FOLD00*/
__be16 lmc_proto_type(lmc_softc_t *sc, struct sk_buff *skb) /*FOLD00*/
{
lmc_trace(sc->lmc_device, "lmc_proto_type in");
switch(sc->if_type){
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/net/wan/lmc/lmc_proto.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ void lmc_proto_reopen(lmc_softc_t *sc);
int lmc_proto_ioctl(lmc_softc_t *sc, struct ifreq *ifr, int cmd);
void lmc_proto_open(lmc_softc_t *sc);
void lmc_proto_close(lmc_softc_t *sc);
unsigned short lmc_proto_type(lmc_softc_t *sc, struct sk_buff *skb);
__be16 lmc_proto_type(lmc_softc_t *sc, struct sk_buff *skb);
void lmc_proto_netif(lmc_softc_t *sc, struct sk_buff *skb);
int lmc_skb_rawpackets(char *buf, char **start, off_t offset, int len, int unused);

Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/net/wan/sbni.c
Original file line number Diff line number Diff line change
Expand Up @@ -391,8 +391,8 @@ sbni_probe1( struct net_device *dev, unsigned long ioaddr, int irq )
spin_lock_init( &nl->lock );

/* store MAC address (generate if that isn't known) */
*(u16 *)dev->dev_addr = htons( 0x00ff );
*(u32 *)(dev->dev_addr + 2) = htonl( 0x01000000 |
*(__be16 *)dev->dev_addr = htons( 0x00ff );
*(__be32 *)(dev->dev_addr + 2) = htonl( 0x01000000 |
( (mac[num] ? mac[num] : (u32)((long)dev->priv)) & 0x00ffffff) );

/* store link settings (speed, receive level ) */
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/net/wan/wanxl.c
Original file line number Diff line number Diff line change
Expand Up @@ -715,7 +715,7 @@ static int __devinit wanxl_pci_init_one(struct pci_dev *pdev,
}

for (i = 0; i < sizeof(firmware); i += 4)
writel(htonl(*(u32*)(firmware + i)), mem + PDM_OFFSET + i);
writel(ntohl(*(__be32*)(firmware + i)), mem + PDM_OFFSET + i);

for (i = 0; i < ports; i++)
writel(card->status_address +
Expand Down
2 changes: 1 addition & 1 deletion trunk/include/linux/if_frad.h
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ struct frhdr

unsigned char NLPID;
unsigned char OUI[3];
unsigned short PID;
__be16 PID;

#define IP_NLPID pad
} __attribute__((packed));
Expand Down

0 comments on commit 76c0ec8

Please sign in to comment.