Fix a few warnings.
This commit is contained in:
parent
7e2bb9dbfe
commit
e8d4dc28dc
@ -23,7 +23,7 @@
|
|||||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
* SUCH DAMAGE.
|
* 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"
|
#include "opt_bootp.h"
|
||||||
@ -119,18 +119,26 @@ bootdev_protocol(void)
|
|||||||
return bootdev_field(0);
|
return bootdev_field(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
|
||||||
bootdev_bus(void)
|
|
||||||
{
|
|
||||||
return atoi(bootdev_field(1));
|
|
||||||
}
|
|
||||||
|
|
||||||
static int
|
static int
|
||||||
bootdev_slot(void)
|
bootdev_slot(void)
|
||||||
{
|
{
|
||||||
return atoi(bootdev_field(2));
|
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
|
static int
|
||||||
bootdev_channel(void)
|
bootdev_channel(void)
|
||||||
{
|
{
|
||||||
@ -143,12 +151,6 @@ bootdev_remote_address(void)
|
|||||||
return bootdev_field(4);
|
return bootdev_field(4);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
|
||||||
bootdev_unit(void)
|
|
||||||
{
|
|
||||||
return atoi(bootdev_field(5));
|
|
||||||
}
|
|
||||||
|
|
||||||
static int
|
static int
|
||||||
bootdev_boot_dev_type(void)
|
bootdev_boot_dev_type(void)
|
||||||
{
|
{
|
||||||
@ -161,6 +163,8 @@ bootdev_ctrl_dev_type(void)
|
|||||||
return bootdev_field(7);
|
return bootdev_field(7);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
void
|
void
|
||||||
alpha_register_pci_scsi(int bus, int slot, struct cam_sim *sim)
|
alpha_register_pci_scsi(int bus, int slot, struct cam_sim *sim)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user