diff options
author | Justin T. Gibbs <gibbs@FreeBSD.org> | 1999-04-23 23:29:00 +0000 |
---|---|---|
committer | Justin T. Gibbs <gibbs@FreeBSD.org> | 1999-04-23 23:29:00 +0000 |
commit | 6d6f09003347d717f0d299ee932fdd6b37b15407 (patch) | |
tree | 871af080653f936c5c9ed78e7b18dfdc4f8fa6ae /sys/dev/ahb/ahb.c | |
parent | 047a1fb18175a43428b5babd481ecda78ec96da0 (diff) | |
download | src-6d6f09003347d717f0d299ee932fdd6b37b15407.tar.gz src-6d6f09003347d717f0d299ee932fdd6b37b15407.zip |
ahb.c:
Synchronize malloc types for our softc.
ahc_eisa.c:
Sync to aic7xxx driver bus dma and new bus changes.
Notes
Notes:
svn path=/head/; revision=45967
Diffstat (limited to 'sys/dev/ahb/ahb.c')
-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 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); |