Override the unit number passed into us in the isa_device structure with

the current unit in bt_unit.  We do this as a kludge to make the unit nubmer
work properly between the pci/eisa/isa bt boards that are in the system.
This commit is contained in:
Justin T. Gibbs 1996-03-31 03:06:20 +00:00
parent b023c93005
commit 2af488412c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=14936

View file

@ -12,7 +12,7 @@
* on the understanding that TFS is not responsible for the correct
* functioning of this software in any circumstances.
*
* $Id: bt5xx-445.c,v 1.1 1995/12/12 08:50:54 gibbs Exp $
* $Id: bt5xx-445.c,v 1.2 1995/12/14 14:19:15 peter Exp $
*/
/*
@ -90,6 +90,13 @@ bt_isa_probe(dev)
int unit = bt_unit;
struct bt_data *bt;
/*
* We ignore the unit number assigned by config to allow
* consistant numbering between PCI/EISA/ISA devices.
* This is a total kludge until we have a configuration
* manager.
*/
dev->id_unit = bt_unit;
/*
* Allocate a storage area for us
*/