diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2006-09-18 04:05:06 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2006-09-18 04:05:06 +0000 |
commit | 88ce59566663904e70e1e4a06468dbd61baaac8e (patch) | |
tree | 0ed233a094eb354d0aaef3a3eb22f0deff2b1bc6 | |
parent | ef48ff7d436d1ec049053be043b2cb34232a665d (diff) |
g/c unused SK_{SET,CLR}BIT macros
From riz@NetBSD
-rw-r--r-- | sys/dev/pci/if_sk.c | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/sys/dev/pci/if_sk.c b/sys/dev/pci/if_sk.c index 11656cb1ad6..e0e61a57ea7 100644 --- a/sys/dev/pci/if_sk.c +++ b/sys/dev/pci/if_sk.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_sk.c,v 1.125 2006/08/17 21:37:44 brad Exp $ */ +/* $OpenBSD: if_sk.c,v 1.126 2006/09/18 04:05:05 brad Exp $ */ /* * Copyright (c) 1997, 1998, 1999, 2000 @@ -192,24 +192,6 @@ void sk_dump_bytes(const char *, int); #define DPRINTFN(n,x) #endif -#define SK_SETBIT(sc, reg, x) \ - CSR_WRITE_4(sc, reg, CSR_READ_4(sc, reg) | x) - -#define SK_CLRBIT(sc, reg, x) \ - CSR_WRITE_4(sc, reg, CSR_READ_4(sc, reg) & ~x) - -#define SK_WIN_SETBIT_4(sc, reg, x) \ - sk_win_write_4(sc, reg, sk_win_read_4(sc, reg) | x) - -#define SK_WIN_CLRBIT_4(sc, reg, x) \ - sk_win_write_4(sc, reg, sk_win_read_4(sc, reg) & ~x) - -#define SK_WIN_SETBIT_2(sc, reg, x) \ - sk_win_write_2(sc, reg, sk_win_read_2(sc, reg) | x) - -#define SK_WIN_CLRBIT_2(sc, reg, x) \ - sk_win_write_2(sc, reg, sk_win_read_2(sc, reg) & ~x) - /* supported device vendors */ const struct pci_matchid skc_devices[] = { { PCI_VENDOR_3COM, PCI_PRODUCT_3COM_3C940 }, |