diff options
Diffstat (limited to 'drivers/net/tulip/de4x5.c')
-rw-r--r-- | drivers/net/tulip/de4x5.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/tulip/de4x5.c b/drivers/net/tulip/de4x5.c index 251c6ce15aea..4dbd493b996b 100644 --- a/drivers/net/tulip/de4x5.c +++ b/drivers/net/tulip/de4x5.c | |||
@@ -5474,7 +5474,8 @@ de4x5_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) | |||
5474 | tmp.lval[6] = inl(DE4X5_STRR); j+=4; | 5474 | tmp.lval[6] = inl(DE4X5_STRR); j+=4; |
5475 | tmp.lval[7] = inl(DE4X5_SIGR); j+=4; | 5475 | tmp.lval[7] = inl(DE4X5_SIGR); j+=4; |
5476 | ioc->len = j; | 5476 | ioc->len = j; |
5477 | if (copy_to_user(ioc->data, tmp.lval, ioc->len)) return -EFAULT; | 5477 | if (copy_to_user(ioc->data, tmp.lval, ioc->len)) |
5478 | return -EFAULT; | ||
5478 | break; | 5479 | break; |
5479 | 5480 | ||
5480 | #define DE4X5_DUMP 0x0f /* Dump the DE4X5 Status */ | 5481 | #define DE4X5_DUMP 0x0f /* Dump the DE4X5 Status */ |