summaryrefslogtreecommitdiffstats
path: root/sys/pci
diff options
context:
space:
mode:
authormux <mux@FreeBSD.org>2003-01-29 21:56:10 +0000
committermux <mux@FreeBSD.org>2003-01-29 21:56:10 +0000
commit2bc4e61e07c6554fe14f0a6518774fb2b5a23abf (patch)
treee25703889ec9a30669b9bd55e0390e24ef8c4610 /sys/pci
parentc356612ab438b63965614d2bae7785140f0e8fa6 (diff)
downloadFreeBSD-src-2bc4e61e07c6554fe14f0a6518774fb2b5a23abf.zip
FreeBSD-src-2bc4e61e07c6554fe14f0a6518774fb2b5a23abf.tar.gz
Fix typo in an unused macro.
Diffstat (limited to 'sys/pci')
-rw-r--r--sys/pci/if_sisreg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pci/if_sisreg.h b/sys/pci/if_sisreg.h
index 4e7627e..9fcefd7 100644
--- a/sys/pci/if_sisreg.h
+++ b/sys/pci/if_sisreg.h
@@ -324,7 +324,7 @@ struct sis_desc {
#define SIS_CMDSTS_MORE 0x40000000
#define SIS_CMDSTS_OWN 0x80000000
-#define SIS_LASTDESC(x) (!((x)->sis_ctl & SIS_CMDSTS_MORE)))
+#define SIS_LASTDESC(x) (!((x)->sis_ctl & SIS_CMDSTS_MORE))
#define SIS_OWNDESC(x) ((x)->sis_ctl & SIS_CMDSTS_OWN)
#define SIS_INC(x, y) (x) = ((x) == ((y)-1)) ? 0 : (x)+1
#define SIS_RXBYTES(x) (((x)->sis_ctl & SIS_CMDSTS_BUFLEN) - ETHER_CRC_LEN)
OpenPOWER on IntegriCloud