Use haveseen_ioport() which is now connected up to the resource manager.
This commit is contained in:
parent
479232a2e7
commit
ac0c5aaf01
@ -44,7 +44,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: adv_isa.c,v 1.9 1999/04/11 03:06:06 eivind Exp $
|
||||
* $Id: adv_isa.c,v 1.10 1999/04/23 23:29:23 gibbs Exp $
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -150,7 +150,7 @@ advisaprobe(struct isa_device *id)
|
||||
/* Already been attached */
|
||||
continue;
|
||||
id->id_iobase = port_addr;
|
||||
if (haveseen_isadev(id, CC_IOADDR | CC_QUIET))
|
||||
if (haveseen_iobase(id, 1)) /* XXX real portsize? */
|
||||
continue;
|
||||
|
||||
if (adv_find_signature(I386_BUS_SPACE_IO, port_addr)) {
|
||||
@ -304,7 +304,7 @@ advisaprobe(struct isa_device *id)
|
||||
|
||||
/* Mark as probed */
|
||||
adv_isa_ioports[port_index] = 0;
|
||||
return 1;
|
||||
return 1; /* XXX what is the real portsize? */
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -28,7 +28,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: aha_isa.c,v 1.6 1999/01/20 06:21:23 imp Exp $
|
||||
* $Id: aha_isa.c,v 1.7 1999/04/16 21:22:19 peter Exp $
|
||||
*/
|
||||
|
||||
#include "pnp.h"
|
||||
@ -103,7 +103,7 @@ aha_isa_probe(dev)
|
||||
if (aha_check_probed_iop(ioport) != 0)
|
||||
continue;
|
||||
dev->id_iobase = ioport;
|
||||
if (haveseen_isadev(dev, CC_IOADDR | CC_QUIET))
|
||||
if (haveseen_iobase(dev, AHA_NREGS))
|
||||
continue;
|
||||
|
||||
/* Allocate a softc for use during probing */
|
||||
|
@ -44,7 +44,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: adv_isa.c,v 1.9 1999/04/11 03:06:06 eivind Exp $
|
||||
* $Id: adv_isa.c,v 1.10 1999/04/23 23:29:23 gibbs Exp $
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -150,7 +150,7 @@ advisaprobe(struct isa_device *id)
|
||||
/* Already been attached */
|
||||
continue;
|
||||
id->id_iobase = port_addr;
|
||||
if (haveseen_isadev(id, CC_IOADDR | CC_QUIET))
|
||||
if (haveseen_iobase(id, 1)) /* XXX real portsize? */
|
||||
continue;
|
||||
|
||||
if (adv_find_signature(I386_BUS_SPACE_IO, port_addr)) {
|
||||
@ -304,7 +304,7 @@ advisaprobe(struct isa_device *id)
|
||||
|
||||
/* Mark as probed */
|
||||
adv_isa_ioports[port_index] = 0;
|
||||
return 1;
|
||||
return 1; /* XXX what is the real portsize? */
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -28,7 +28,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: aha_isa.c,v 1.6 1999/01/20 06:21:23 imp Exp $
|
||||
* $Id: aha_isa.c,v 1.7 1999/04/16 21:22:19 peter Exp $
|
||||
*/
|
||||
|
||||
#include "pnp.h"
|
||||
@ -103,7 +103,7 @@ aha_isa_probe(dev)
|
||||
if (aha_check_probed_iop(ioport) != 0)
|
||||
continue;
|
||||
dev->id_iobase = ioport;
|
||||
if (haveseen_isadev(dev, CC_IOADDR | CC_QUIET))
|
||||
if (haveseen_iobase(dev, AHA_NREGS))
|
||||
continue;
|
||||
|
||||
/* Allocate a softc for use during probing */
|
||||
|
Loading…
x
Reference in New Issue
Block a user