Sync with sys/i386/i386/userconfig.c revision 1.111.

This commit is contained in:
KATO Takenori 1998-10-08 12:09:38 +00:00
parent a34b53fbb3
commit 6939f71026

View File

@ -46,7 +46,7 @@
** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
** THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
**
** $Id: userconfig.c,v 1.54 1998/09/17 13:14:14 kato Exp $
** $Id: userconfig.c,v 1.55 1998/09/28 08:26:10 kato Exp $
**/
/**
@ -173,7 +173,7 @@ getchar(void)
#ifdef VISUAL_USERCONFIG
static struct isa_device *devtabs[] = { isa_devtab_bio, isa_devtab_tty, isa_devtab_net,
isa_devtab_null, NULL };
isa_devtab_cam, isa_devtab_null, NULL };
typedef struct
{
@ -2400,7 +2400,7 @@ visuserconfig(void)
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: userconfig.c,v 1.54 1998/09/17 13:14:14 kato Exp $
* $Id: userconfig.c,v 1.55 1998/09/28 08:26:10 kato Exp $
*/
#include "scbus.h"
@ -2666,6 +2666,7 @@ list_devices(CmdParm *parms)
if (lsdevtab(&isa_devtab_bio[0])) return 0;
if (lsdevtab(&isa_devtab_tty[0])) return 0;
if (lsdevtab(&isa_devtab_net[0])) return 0;
if (lsdevtab(&isa_devtab_cam[0])) return 0;
if (lsdevtab(&isa_devtab_null[0])) return 0;
#if NPNP > 0
if (lspnp()) return 0;
@ -3167,6 +3168,8 @@ find_device(char *devname, int unit)
return ret;
if ((ret = search_devtable(&isa_devtab_net[0], devname, unit)) != NULL)
return ret;
if ((ret = search_devtable(&isa_devtab_cam[0], devname, unit)) != NULL)
return ret;
if ((ret = search_devtable(&isa_devtab_null[0], devname, unit)) != NULL)
return ret;
return NULL;