version 1.70.8.1, 2006/11/18 21:34:48 |
version 1.71, 2006/10/12 01:31:57 |
Line 107 static const struct scsi_quirk_inquiry_p |
|
Line 107 static const struct scsi_quirk_inquiry_p |
|
}; |
}; |
|
|
int |
int |
atapiprint(void *aux, const char *pnp) |
atapiprint(void *aux __unused, const char *pnp) |
{ |
{ |
if (pnp) |
if (pnp) |
aprint_normal("atapibus at %s", pnp); |
aprint_normal("atapibus at %s", pnp); |
Line 115 atapiprint(void *aux, const char *pnp) |
|
Line 115 atapiprint(void *aux, const char *pnp) |
|
} |
} |
|
|
static int |
static int |
atapibusmatch(struct device *parent, struct cfdata *cf, |
atapibusmatch(struct device *parent __unused, struct cfdata *cf __unused, |
void *aux) |
void *aux) |
{ |
{ |
struct scsipi_channel *chan = aux; |
struct scsipi_channel *chan = aux; |
Line 131 atapibusmatch(struct device *parent, str |
|
Line 131 atapibusmatch(struct device *parent, str |
|
|
|
static int |
static int |
atapibussubmatch(struct device *parent, struct cfdata *cf, |
atapibussubmatch(struct device *parent, struct cfdata *cf, |
const int *ldesc, void *aux) |
const int *ldesc __unused, void *aux) |
{ |
{ |
struct scsipibus_attach_args *sa = aux; |
struct scsipibus_attach_args *sa = aux; |
struct scsipi_periph *periph = sa->sa_periph; |
struct scsipi_periph *periph = sa->sa_periph; |
Line 143 atapibussubmatch(struct device *parent, |
|
Line 143 atapibussubmatch(struct device *parent, |
|
} |
} |
|
|
static void |
static void |
atapibusattach(struct device *parent, struct device *self, void *aux) |
atapibusattach(struct device *parent __unused, struct device *self, void *aux) |
{ |
{ |
struct atapibus_softc *sc = device_private(self); |
struct atapibus_softc *sc = device_private(self); |
struct scsipi_channel *chan = aux; |
struct scsipi_channel *chan = aux; |
Line 252 atapi_probe_bus(struct atapibus_softc *s |
|
Line 252 atapi_probe_bus(struct atapibus_softc *s |
|
} |
} |
|
|
void * |
void * |
atapi_probe_device(struct atapibus_softc *sc, int target, |
atapi_probe_device(struct atapibus_softc *sc, int target __unused, |
struct scsipi_periph *periph, struct scsipibus_attach_args *sa) |
struct scsipi_periph *periph, struct scsipibus_attach_args *sa) |
{ |
{ |
struct scsipi_channel *chan = sc->sc_channel; |
struct scsipi_channel *chan = sc->sc_channel; |