change the attach message to contain slot number and product name

This commit is contained in:
jdolecek 2001-04-05 12:22:05 +00:00
parent fb0acfc293
commit 08beeb78a7

View File

@ -1,4 +1,4 @@
/* $NetBSD: aha_mca.c,v 1.1 2000/05/11 15:42:04 jdolecek Exp $ */
/* $NetBSD: aha_mca.c,v 1.2 2001/04/05 12:22:05 jdolecek Exp $ */
/*
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@ -116,7 +116,7 @@ aha_mca_attach(parent, self, aux)
mca_chipset_tag_t mc = ma->ma_mc;
bus_addr_t iobase;
printf("\n");
printf(" slot %d: Adaptec AHA-1640 SCSI Adapter\n", ma->ma_slot + 1);
iobase=((ma->ma_pos[3] & 0x03) << 8) + 0x30 +
((ma->ma_pos[3] & 0x40) >> 4);