diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-01-01 20:52:29 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-01-01 20:52:29 +0000 |
commit | 5c6a275d22890d00126f51fb7cbff1aa01948aca (patch) | |
tree | 7b1673167ce83d637e54ce54d8bd795cdcd691f6 /sys/dev/isa/gscsio.c | |
parent | 2e8171134016d44dbd15da591feea9b72aae4eca (diff) |
switch from macppc-specific maciic(4) driver to the generic iic(4),
after teaching it to use a function pointer to get back to the OFW
scan.. this will also help the sparc64 later; ok kettenis
Diffstat (limited to 'sys/dev/isa/gscsio.c')
-rw-r--r-- | sys/dev/isa/gscsio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/isa/gscsio.c b/sys/dev/isa/gscsio.c index 65298748bef..6de6a02448d 100644 --- a/sys/dev/isa/gscsio.c +++ b/sys/dev/isa/gscsio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gscsio.c,v 1.6 2005/12/27 21:20:02 grange Exp $ */ +/* $OpenBSD: gscsio.c,v 1.7 2006/01/01 20:52:26 deraadt Exp $ */ /* * Copyright (c) 2004 Alexander Yurchenko <grange@openbsd.org> * @@ -250,9 +250,9 @@ gscsio_acb_init(struct gscsio_acb *acb, i2c_tag_t tag) tag->ic_read_byte = gscsio_acb_read_byte; tag->ic_write_byte = gscsio_acb_write_byte; + bzero(&iba, sizeof iba); iba.iba_name = "iic"; iba.iba_tag = tag; - iba.iba_scan = 1; config_found(&sc->sc_dev, &iba, iicbus_print); } |