diff options
Diffstat (limited to 'drivers/net/sunqe.c')
-rw-r--r-- | drivers/net/sunqe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/sunqe.c b/drivers/net/sunqe.c index 817a40b66638..d5c1448d587c 100644 --- a/drivers/net/sunqe.c +++ b/drivers/net/sunqe.c | |||
@@ -451,7 +451,7 @@ static void qe_rx(struct sunqe *qep) | |||
451 | } | 451 | } |
452 | end_rxd->rx_addr = this_qbuf_dvma; | 452 | end_rxd->rx_addr = this_qbuf_dvma; |
453 | end_rxd->rx_flags = (RXD_OWN | ((RXD_PKT_SZ) & RXD_LENGTH)); | 453 | end_rxd->rx_flags = (RXD_OWN | ((RXD_PKT_SZ) & RXD_LENGTH)); |
454 | 454 | ||
455 | elem = NEXT_RX(elem); | 455 | elem = NEXT_RX(elem); |
456 | this = &rxbase[elem]; | 456 | this = &rxbase[elem]; |
457 | } | 457 | } |
@@ -858,7 +858,7 @@ static int __init qec_ether_init(struct sbus_dev *sdev) | |||
858 | } | 858 | } |
859 | qe->channel = i; | 859 | qe->channel = i; |
860 | spin_lock_init(&qe->lock); | 860 | spin_lock_init(&qe->lock); |
861 | 861 | ||
862 | res = -ENODEV; | 862 | res = -ENODEV; |
863 | qecp = get_qec(sdev); | 863 | qecp = get_qec(sdev); |
864 | if (!qecp) | 864 | if (!qecp) |