summaryrefslogtreecommitdiffstats
path: root/sys/dev/ic/aic79xx.h
diff options
context:
space:
mode:
authormarco <marco@openbsd.org>2004-08-06 01:29:19 +0000
committermarco <marco@openbsd.org>2004-08-06 01:29:19 +0000
commite5238fd1b5e658d8fae7df62d0147f9acf31dba2 (patch)
tree2d2ca879b636d2bb9f1ecde88cf940db7f4bcb4f /sys/dev/ic/aic79xx.h
parentkill 3 lines of unused code (diff)
downloadwireguard-openbsd-e5238fd1b5e658d8fae7df62d0147f9acf31dba2.tar.xz
wireguard-openbsd-e5238fd1b5e658d8fae7df62d0147f9acf31dba2.zip
Remove __static inline to make the kernel ~24k smaller on i386 and make the debug sessions bearable.
ok krw@ deraadt@
Diffstat (limited to 'sys/dev/ic/aic79xx.h')
-rw-r--r--sys/dev/ic/aic79xx.h16
1 files changed, 5 insertions, 11 deletions
diff --git a/sys/dev/ic/aic79xx.h b/sys/dev/ic/aic79xx.h
index ee3f68f51e3..13e4e79960e 100644
--- a/sys/dev/ic/aic79xx.h
+++ b/sys/dev/ic/aic79xx.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: aic79xx.h,v 1.4 2004/06/23 03:23:19 marco Exp $ */
+/* $OpenBSD: aic79xx.h,v 1.5 2004/08/06 01:29:19 marco Exp $ */
/*
* Core definitions and data structures shareable across OS platforms.
*
@@ -1375,16 +1375,10 @@ extern const int ahd_num_aic7770_devs;
/*************************** Function Declarations ****************************/
/******************************************************************************/
-void ahd_reset_cmds_pending(struct ahd_softc *ahd);
-u_int ahd_find_busy_tcl(struct ahd_softc *ahd, u_int tcl);
-void ahd_busy_tcl(struct ahd_softc *ahd,
- u_int tcl, u_int busyid);
-static __inline void ahd_unbusy_tcl(struct ahd_softc *ahd, u_int tcl);
-static __inline void
-ahd_unbusy_tcl(struct ahd_softc *ahd, u_int tcl)
-{
- ahd_busy_tcl(ahd, tcl, SCB_LIST_NULL);
-}
+void ahd_reset_cmds_pending(struct ahd_softc *ahd);
+u_int ahd_find_busy_tcl(struct ahd_softc *ahd, u_int tcl);
+void ahd_busy_tcl(struct ahd_softc *ahd, u_int tcl, u_int busyid);
+void ahd_unbusy_tcl(struct ahd_softc *, u_int);
/***************************** PCI Front End *********************************/
const struct ahd_pci_identity * ahd_find_pci_device(pcireg_t, pcireg_t);