Deleted Added
full compact
2c2
< * Copyright (C) 2012 Emulex
---
> * Copyright (C) 2013 Emulex
39c39
< /* $FreeBSD: head/sys/dev/oce/oce_hw.c 247880 2013-03-06 09:53:38Z delphij $ */
---
> /* $FreeBSD: head/sys/dev/oce/oce_hw.c 252869 2013-07-06 08:30:45Z delphij $ */
56c56
< post_status.dw0 = OCE_READ_REG32(sc, csr, MPU_EP_SEMAPHORE(sc));
---
> post_status.dw0 = OCE_READ_CSR_MPU(sc, csr, MPU_EP_SEMAPHORE(sc));
61c61
< OCE_WRITE_REG32(sc, csr, MPU_EP_SEMAPHORE(sc), post_status.dw0);
---
> OCE_WRITE_CSR_MPU(sc, csr, MPU_EP_SEMAPHORE(sc), post_status.dw0);
71c71
< post_status.dw0 = OCE_READ_REG32(sc, csr, MPU_EP_SEMAPHORE(sc));
---
> post_status.dw0 = OCE_READ_CSR_MPU(sc, csr, MPU_EP_SEMAPHORE(sc));
132c132
< if (IS_BE(sc) && (sc->flags & OCE_FLAGS_BE3)) {
---
> if ((IS_BE(sc) && (sc->flags & OCE_FLAGS_BE3)) || IS_SH(sc)) {
261c261
< if (IS_BE(sc))
---
> if (IS_BE(sc) || IS_SH(sc))
301c301
< if (IS_BE(sc)) {
---
> if (IS_BE(sc) || IS_SH(sc)) {
390c390
< if (sc->rss_enable)
---
> if (is_rss_enabled(sc))
450c450
< ctrl.dw0 = OCE_READ_REG32(sc, csr, MPU_EP_CONTROL);
---
> ctrl.dw0 = OCE_READ_CSR_MPU(sc, csr, MPU_EP_CONTROL);
452c452
< OCE_WRITE_REG32(sc, csr, MPU_EP_CONTROL, ctrl.dw0);
---
> OCE_WRITE_CSR_MPU(sc, csr, MPU_EP_CONTROL, ctrl.dw0);