From 28d47d8db39d58f95af3e84a3662d3b89f59972e Mon Sep 17 00:00:00 2001 From: bouyer Date: Wed, 2 May 2001 09:47:45 +0000 Subject: [PATCH] Use same type for first field of struct ata_atapi_attach and struct scsipi_channel, so umass has better chances of working on big-endian systems. --- sys/dev/scsipi/scsipiconf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/scsipi/scsipiconf.h b/sys/dev/scsipi/scsipiconf.h index 0584f812c651..7082346cef49 100644 --- a/sys/dev/scsipi/scsipiconf.h +++ b/sys/dev/scsipi/scsipiconf.h @@ -1,4 +1,4 @@ -/* $NetBSD: scsipiconf.h,v 1.49 2001/04/30 02:37:51 lukem Exp $ */ +/* $NetBSD: scsipiconf.h,v 1.50 2001/05/02 09:47:45 bouyer Exp $ */ /*- * Copyright (c) 1998, 1999, 2000 The NetBSD Foundation, Inc. @@ -252,7 +252,7 @@ struct scsipi_bustype { * regarding the resource counter. */ struct scsipi_channel { - int type; /* XXX will die, compat with ata_atapi_attach for umass */ + u_int8_t type; /* XXX will die, compat with ata_atapi_attach for umass */ #define BUS_SCSI 0 #define BUS_ATAPI 1 /*define BUS_ATA 2*/