summaryrefslogtreecommitdiff
path: root/sys/dev/ahb
diff options
context:
space:
mode:
authorJustin T. Gibbs <gibbs@FreeBSD.org>1999-04-23 23:29:00 +0000
committerJustin T. Gibbs <gibbs@FreeBSD.org>1999-04-23 23:29:00 +0000
commit6d6f09003347d717f0d299ee932fdd6b37b15407 (patch)
tree871af080653f936c5c9ed78e7b18dfdc4f8fa6ae /sys/dev/ahb
parent047a1fb18175a43428b5babd481ecda78ec96da0 (diff)
Notes
Diffstat (limited to 'sys/dev/ahb')
-rw-r--r--sys/dev/ahb/ahb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ahb/ahb.c b/sys/dev/ahb/ahb.c
index 6d294ee90478..4bdc6bb09e03 100644
--- a/sys/dev/ahb/ahb.c
+++ b/sys/dev/ahb/ahb.c
@@ -25,7 +25,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: ahb.c,v 1.8 1999/04/11 03:06:05 eivind Exp $
+ * $Id: ahb.c,v 1.9 1999/04/18 15:50:33 peter Exp $
*/
#include "eisa.h"
@@ -93,7 +93,7 @@ static void ahbaction(struct cam_sim *sim, union ccb *ccb);
static void ahbpoll(struct cam_sim *sim);
/* Our timeout handler */
-timeout_t ahbtimeout;
+static timeout_t ahbtimeout;
static __inline struct ecb* ahbecbget(struct ahb_softc *ahb);
static __inline void ahbecbfree(struct ahb_softc* ahb,
@@ -395,7 +395,7 @@ ahballoc(u_long unit, u_int iobase)
/*
* Allocate a storage area for us
*/
- ahb = malloc(sizeof(struct ahb_softc), M_TEMP, M_NOWAIT);
+ ahb = malloc(sizeof(struct ahb_softc), M_DEVBUF, M_NOWAIT);
if (!ahb) {
printf("ahb%ld: cannot malloc!\n", unit);
return (NULL);