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

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

Diff for /src/sys/dev/usb/ucom.c between version 1.67 and 1.68

version 1.67, 2006/10/01 20:31:51 version 1.68, 2006/10/12 01:31:59
Line 301  ucom_shutdown(struct ucom_softc *sc)
Line 301  ucom_shutdown(struct ucom_softc *sc)
 }  }
   
 int  int
 ucomopen(dev_t dev, int flag, int mode, struct lwp *l)  ucomopen(dev_t dev, int flag, int mode __unused, struct lwp *l)
 {  {
         int unit = UCOMUNIT(dev);          int unit = UCOMUNIT(dev);
         usbd_status err;          usbd_status err;
Line 495  bad:
Line 495  bad:
 }  }
   
 int  int
 ucomclose(dev_t dev, int flag, int mode, struct lwp *l)  ucomclose(dev_t dev, int flag, int mode __unused, struct lwp *l __unused)
 {  {
         struct ucom_softc *sc = ucom_cd.cd_devs[UCOMUNIT(dev)];          struct ucom_softc *sc = ucom_cd.cd_devs[UCOMUNIT(dev)];
         struct tty *tp = sc->sc_tty;          struct tty *tp = sc->sc_tty;
Line 869  XXX what if the hardware is not open
Line 869  XXX what if the hardware is not open
  * (un)block input via hw flowcontrol   * (un)block input via hw flowcontrol
  */   */
 Static void  Static void
 ucom_hwiflow(struct ucom_softc *sc)  ucom_hwiflow(struct ucom_softc *sc __unused)
 {  {
         DPRINTF(("ucom_hwiflow:\n"));          DPRINTF(("ucom_hwiflow:\n"));
 #if 0  #if 0
Line 958  out:
Line 958  out:
 }  }
   
 void  void
 ucomstop(struct tty *tp, int flag)  ucomstop(struct tty *tp __unused, int flag __unused)
 {  {
         DPRINTF(("ucomstop: flag=%d\n", flag));          DPRINTF(("ucomstop: flag=%d\n", flag));
 #if 0  #if 0
Line 1140  ucomprint(void *aux, const char *pnp)
Line 1140  ucomprint(void *aux, const char *pnp)
   
 int  int
 ucomsubmatch(struct device *parent, struct cfdata *cf,  ucomsubmatch(struct device *parent, struct cfdata *cf,
              const int *ldesc, void *aux)               const int *ldesc __unused, void *aux)
 {  {
         struct ucom_attach_args *uca = aux;          struct ucom_attach_args *uca = aux;
   

Legend:
Removed from v.1.67  
changed lines
  Added in v.1.68

CVSweb <webmaster@jp.NetBSD.org>