|
@@ -1838,7 +1838,7 @@ static int e100_rx_indicate(struct nic *nic, struct rx *rx,
|
|
|
if ((le16_to_cpu(rfd->command) & cb_el) &&
|
|
|
(RU_RUNNING == nic->ru_running))
|
|
|
|
|
|
- if (readb(&nic->csr->scb.status) & rus_no_res)
|
|
|
+ if (ioread8(&nic->csr->scb.status) & rus_no_res)
|
|
|
nic->ru_running = RU_SUSPENDED;
|
|
|
return -ENODATA;
|
|
|
}
|
|
@@ -1861,7 +1861,7 @@ static int e100_rx_indicate(struct nic *nic, struct rx *rx,
|
|
|
if ((le16_to_cpu(rfd->command) & cb_el) &&
|
|
|
(RU_RUNNING == nic->ru_running)) {
|
|
|
|
|
|
- if (readb(&nic->csr->scb.status) & rus_no_res)
|
|
|
+ if (ioread8(&nic->csr->scb.status) & rus_no_res)
|
|
|
nic->ru_running = RU_SUSPENDED;
|
|
|
}
|
|
|
|