[BACK]Return to atapiconf.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / dev / scsipi

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/dev/scsipi/atapiconf.c between version 1.69 and 1.69.12.1

version 1.69, 2005/12/11 12:23:50 version 1.69.12.1, 2006/03/31 09:45:25
Line 144  atapibussubmatch(struct device *parent, 
Line 144  atapibussubmatch(struct device *parent, 
 static void  static void
 atapibusattach(struct device *parent, struct device *self, void *aux)  atapibusattach(struct device *parent, struct device *self, void *aux)
 {  {
         struct atapibus_softc *sc = (void *) self;          struct atapibus_softc *sc = device_private(self);
         struct scsipi_channel *chan = aux;          struct scsipi_channel *chan = aux;
   
         sc->sc_channel = chan;          sc->sc_channel = chan;
Line 167  atapibusattach(struct device *parent, st
Line 167  atapibusattach(struct device *parent, st
 static int  static int
 atapibusactivate(struct device *self, enum devact act)  atapibusactivate(struct device *self, enum devact act)
 {  {
         struct atapibus_softc *sc = (void *) self;          struct atapibus_softc *sc = device_private(self);
         struct scsipi_channel *chan = sc->sc_channel;          struct scsipi_channel *chan = sc->sc_channel;
         struct scsipi_periph *periph;          struct scsipi_periph *periph;
         int target, error = 0, s;          int target, error = 0, s;
Line 197  atapibusactivate(struct device *self, en
Line 197  atapibusactivate(struct device *self, en
 static int  static int
 atapibusdetach(struct device *self, int flags)  atapibusdetach(struct device *self, int flags)
 {  {
         struct atapibus_softc *sc = (void *)self;          struct atapibus_softc *sc = device_private(self);
         struct scsipi_channel *chan = sc->sc_channel;          struct scsipi_channel *chan = sc->sc_channel;
         struct scsipi_periph *periph;          struct scsipi_periph *periph;
         int target, error;          int target, error;

Legend:
Removed from v.1.69  
changed lines
  Added in v.1.69.12.1

CVSweb <webmaster@jp.NetBSD.org>