diff options
Diffstat (limited to 'drivers/staging/et131x/et131x_initpci.c')
-rw-r--r-- | drivers/staging/et131x/et131x_initpci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/et131x/et131x_initpci.c b/drivers/staging/et131x/et131x_initpci.c index 33f49959ea7..0662e7ff964 100644 --- a/drivers/staging/et131x/et131x_initpci.c +++ b/drivers/staging/et131x/et131x_initpci.c @@ -573,7 +573,7 @@ void ConfigGlobalRegs(struct et131x_adapter *etdev) } /* Initialize the loopback register. Disable all loopbacks. */ - writel(0, ®s->loopback.value); + writel(0, ®s->loopback); } else { /* For PHY Line loopback, the memory is configured as if Tx * and Rx both have all the memory. This is because the @@ -586,7 +586,7 @@ void ConfigGlobalRegs(struct et131x_adapter *etdev) writel(INTERNAL_MEM_SIZE - 1, ®s->txq_end_addr); /* Initialize the loopback register (MAC loopback). */ - writel(1, ®s->loopback); + writel(ET_LOOP_MAC, ®s->loopback); } /* MSI Register */ |