From 6da5b383f15460ecd2a572a912b1ea37e11a44b1 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Wed, 17 Aug 2005 17:45:19 +0000 Subject: [PATCH] Remove the unused TULIP_CSR_{READ,WRITE}BYTE macros. --- sys/dev/de/if_devar.h | 9 --------- sys/pci/if_devar.h | 9 --------- 2 files changed, 18 deletions(-) diff --git a/sys/dev/de/if_devar.h b/sys/dev/de/if_devar.h index 46ff1ea81f52..a801d41f09d1 100644 --- a/sys/dev/de/if_devar.h +++ b/sys/dev/de/if_devar.h @@ -45,15 +45,6 @@ typedef bus_addr_t tulip_csrptr_t; (sc)->tulip_csrs_bsh, \ (sc)->tulip_csrs.csr, val) -#define TULIP_CSR_READBYTE(sc, csr) \ - bus_space_read_1((sc)->tulip_csrs_bst, \ - (sc)->tulip_csrs_bsh, \ - (sc)->tulip_csrs.csr) -#define TULIP_CSR_WRITEBYTE(sc, csr, val) \ - bus_space_write_1((sc)->tulip_csrs_bst, \ - (sc)->tulip_csrs_bsh, \ - (sc)->tulip_csrs.csr, val) - /* * This structure contains "pointers" for the registers on * the various 21x4x chips. CSR0 through CSR8 are common diff --git a/sys/pci/if_devar.h b/sys/pci/if_devar.h index 46ff1ea81f52..a801d41f09d1 100644 --- a/sys/pci/if_devar.h +++ b/sys/pci/if_devar.h @@ -45,15 +45,6 @@ typedef bus_addr_t tulip_csrptr_t; (sc)->tulip_csrs_bsh, \ (sc)->tulip_csrs.csr, val) -#define TULIP_CSR_READBYTE(sc, csr) \ - bus_space_read_1((sc)->tulip_csrs_bst, \ - (sc)->tulip_csrs_bsh, \ - (sc)->tulip_csrs.csr) -#define TULIP_CSR_WRITEBYTE(sc, csr, val) \ - bus_space_write_1((sc)->tulip_csrs_bst, \ - (sc)->tulip_csrs_bsh, \ - (sc)->tulip_csrs.csr, val) - /* * This structure contains "pointers" for the registers on * the various 21x4x chips. CSR0 through CSR8 are common