Fix a few warnings.

This commit is contained in:
dfr 1999-03-28 17:33:38 +00:00
parent 7ec42202b4
commit 08dbc41fef

View File

@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: autoconf.c,v 1.13 1999/01/20 19:22:24 peter Exp $
* $Id: autoconf.c,v 1.14 1999/03/12 14:44:46 gallatin Exp $
*/
#include "opt_bootp.h"
@ -119,18 +119,26 @@ bootdev_protocol(void)
return bootdev_field(0);
}
static int
bootdev_bus(void)
{
return atoi(bootdev_field(1));
}
static int
bootdev_slot(void)
{
return atoi(bootdev_field(2));
}
static int
bootdev_unit(void)
{
return atoi(bootdev_field(5));
}
#if 0
static int
bootdev_bus(void)
{
return atoi(bootdev_field(1));
}
static int
bootdev_channel(void)
{
@ -143,12 +151,6 @@ bootdev_remote_address(void)
return bootdev_field(4);
}
static int
bootdev_unit(void)
{
return atoi(bootdev_field(5));
}
static int
bootdev_boot_dev_type(void)
{
@ -161,6 +163,8 @@ bootdev_ctrl_dev_type(void)
return bootdev_field(7);
}
#endif
void
alpha_register_pci_scsi(int bus, int slot, struct cam_sim *sim)
{