diff options
author | gibbs <gibbs@FreeBSD.org> | 1999-04-23 23:29:00 +0000 |
---|---|---|
committer | gibbs <gibbs@FreeBSD.org> | 1999-04-23 23:29:00 +0000 |
commit | 2aed7d023f77add5e0945b1e48e60afaa1615a50 (patch) | |
tree | 83b66af107f9e465b4d60198fedf195ca1bb3cea /sys/dev/ahb | |
parent | bc3f9921db38968a1246d19cf25deb90ee0e81cb (diff) | |
download | FreeBSD-src-2aed7d023f77add5e0945b1e48e60afaa1615a50.zip FreeBSD-src-2aed7d023f77add5e0945b1e48e60afaa1615a50.tar.gz |
ahb.c:
Synchronize malloc types for our softc.
ahc_eisa.c:
Sync to aic7xxx driver bus dma and new bus changes.
Diffstat (limited to 'sys/dev/ahb')
-rw-r--r-- | sys/dev/ahb/ahb.c | 6 |
1 files changed, 3 insertions, 3 deletions
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); |