From 2aed7d023f77add5e0945b1e48e60afaa1615a50 Mon Sep 17 00:00:00 2001 From: gibbs Date: Fri, 23 Apr 1999 23:29:00 +0000 Subject: ahb.c: Synchronize malloc types for our softc. ahc_eisa.c: Sync to aic7xxx driver bus dma and new bus changes. --- sys/dev/ahb/ahb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/dev/ahb') diff --git a/sys/dev/ahb/ahb.c b/sys/dev/ahb/ahb.c index 6d294ee..4bdc6bb 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); -- cgit v1.1