[PATCH 1/4] ibmveth: Use vio_{en,dis}able_intterrupts
Stephen Rothwell
sfr at canb.auug.org.au
Wed Sep 7 13:45:36 EST 2005
Signed-off-by: Stephen Rothwell <sfr at canb.auug.org.au>
---
drivers/net/ibmveth.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
--
Cheers,
Stephen Rothwell sfr at canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
ac0ae32c0250535cf02a74164b83cdabbcd535e3
diff --git a/drivers/net/ibmveth.c b/drivers/net/ibmveth.c
--- a/drivers/net/ibmveth.c
+++ b/drivers/net/ibmveth.c
@@ -792,7 +792,7 @@ static int ibmveth_poll(struct net_devic
}
/* we think we are done - reenable interrupts, then check once more to make sure we are done */
- lpar_rc = h_vio_signal(adapter->vdev->unit_address, VIO_IRQ_ENABLE);
+ lpar_rc = vio_enable_interrupts(adapter->vdev);
ibmveth_assert(lpar_rc == H_Success);
@@ -800,7 +800,7 @@ static int ibmveth_poll(struct net_devic
if(ibmveth_rxq_pending_buffer(adapter) && netif_rx_reschedule(netdev, frames_processed))
{
- lpar_rc = h_vio_signal(adapter->vdev->unit_address, VIO_IRQ_DISABLE);
+ lpar_rc = vio_disable_interrupts(adapter->vdev);
ibmveth_assert(lpar_rc == H_Success);
more_work = 1;
goto restart_poll;
@@ -820,7 +820,7 @@ static irqreturn_t ibmveth_interrupt(int
unsigned long lpar_rc;
if(netif_rx_schedule_prep(netdev)) {
- lpar_rc = h_vio_signal(adapter->vdev->unit_address, VIO_IRQ_DISABLE);
+ lpar_rc = vio_disable_interrupts(adapter->vdev);
ibmveth_assert(lpar_rc == H_Success);
__netif_rx_schedule(netdev);
}
More information about the Linuxppc64-dev
mailing list