--- src/sys/dev/disk/aic7xxx/ahc_eisa.c 2007/07/06 04:56:22 1.9 +++ src/sys/dev/disk/aic7xxx/ahc_eisa.c 2008/05/18 20:30:21 1.10 @@ -26,7 +26,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: ahc_eisa.c,v 1.9 2007/07/06 04:56:22 pavalos Exp $ + * $Id: ahc_eisa.c,v 1.10 2008/05/18 20:30:21 pavalos Exp $ * * $FreeBSD: src/sys/dev/aic7xxx/ahc_eisa.c,v 1.34 2004/08/17 00:14:30 gibbs Exp $ * $DragonFly$ @@ -119,7 +119,7 @@ aic7770_attach(device_t dev) * set it up for attachment by our * common detect routine. */ - name = kmalloc(strlen(device_get_nameunit(dev)) + 1, M_DEVBUF, M_WAITOK); + name = kmalloc(strlen(device_get_nameunit(dev)) + 1, M_DEVBUF, M_INTWAIT); strcpy(name, device_get_nameunit(dev)); ahc = ahc_alloc(dev, name); if (ahc == NULL)