Make this lot build on alpha.
This commit is contained in:
parent
d64d73c906
commit
150630c449
@ -196,7 +196,8 @@ lp_probe(device_t dev)
|
|||||||
{
|
{
|
||||||
device_t ppbus = device_get_parent(dev);
|
device_t ppbus = device_get_parent(dev);
|
||||||
struct lp_data *lp;
|
struct lp_data *lp;
|
||||||
int irq, zero = 0;
|
int zero = 0;
|
||||||
|
u_long irq;
|
||||||
|
|
||||||
lp = DEVTOSOFTC(dev);
|
lp = DEVTOSOFTC(dev);
|
||||||
bzero(lp, sizeof(struct lp_data));
|
bzero(lp, sizeof(struct lp_data));
|
||||||
|
@ -377,8 +377,9 @@ lpt_attach(device_t dev)
|
|||||||
{
|
{
|
||||||
device_t ppbus = device_get_parent(dev);
|
device_t ppbus = device_get_parent(dev);
|
||||||
struct lpt_data *sc = DEVTOSOFTC(dev);
|
struct lpt_data *sc = DEVTOSOFTC(dev);
|
||||||
int zero = 0, irq, unit = device_get_unit(dev);
|
int zero = 0, unit = device_get_unit(dev);
|
||||||
int error;
|
int error;
|
||||||
|
u_long irq;
|
||||||
|
|
||||||
sc->sc_primed = 0; /* not primed yet */
|
sc->sc_primed = 0; /* not primed yet */
|
||||||
|
|
||||||
@ -830,7 +831,7 @@ lpt_intr(void *arg)
|
|||||||
device_t lptdev = (device_t)arg;
|
device_t lptdev = (device_t)arg;
|
||||||
device_t ppbus = device_get_parent(lptdev);
|
device_t ppbus = device_get_parent(lptdev);
|
||||||
struct lpt_data *sc = DEVTOSOFTC(lptdev);
|
struct lpt_data *sc = DEVTOSOFTC(lptdev);
|
||||||
int sts;
|
int sts = 0;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
/* we must own the bus to use it */
|
/* we must own the bus to use it */
|
||||||
|
@ -190,7 +190,7 @@ ppb_MS_init_msq(struct ppb_microseq *msq, int nbparam, ...)
|
|||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
int param, ins, arg, type;
|
int param, ins, arg, type;
|
||||||
va_list p_list = 0;
|
va_list p_list;
|
||||||
|
|
||||||
va_start(p_list, nbparam);
|
va_start(p_list, nbparam);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user