diff options
Diffstat (limited to 'linux')
-rw-r--r-- | linux/dev/include/linux/blk.h | 2 | ||||
-rw-r--r-- | linux/src/drivers/net/at1700.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/linux/dev/include/linux/blk.h b/linux/dev/include/linux/blk.h index 852853c..412b864 100644 --- a/linux/dev/include/linux/blk.h +++ b/linux/dev/include/linux/blk.h @@ -385,7 +385,9 @@ static void end_request(int uptodate) { struct request *req = CURRENT; #endif /* IDE_DRIVER */ struct buffer_head * bh; +#ifndef MACH int nsect; +#endif req->errors = 0; if (!uptodate) { diff --git a/linux/src/drivers/net/at1700.c b/linux/src/drivers/net/at1700.c index 953c188..9e42ab4 100644 --- a/linux/src/drivers/net/at1700.c +++ b/linux/src/drivers/net/at1700.c @@ -595,7 +595,9 @@ net_rx(struct device *dev) /* The inverse routine to net_open(). */ static int net_close(struct device *dev) { +#if 0 struct net_local *lp = (struct net_local *)dev->priv; +#endif int ioaddr = dev->base_addr; dev->tbusy = 1; |