Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 May 2011 22:20:01 +0000 (UTC)
From:      Nick Hibma <n_hibma@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/dev/usb usb_device.c usb_hub.c usbdi.h src/sys/dev/usb/net uhso.c src/sys/dev/usb/serial u3g.c uark.c ubsa.c ubser.c uchcom.c ucycom.c ufoma.c uftdi.c ugensa.c uipaq.c umct.c umodem.c umoscom.c uplcom.c usb_serial.c usb_serial.h ...
Message-ID:  <201105072220.p47MKJeV077839@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help

n_hibma     2011-05-07 22:20:01 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_8)
    sys/dev/usb          usb_device.c usb_hub.c usbdi.h 
    sys/dev/usb/net      uhso.c 
    sys/dev/usb/serial   u3g.c uark.c ubsa.c ubser.c uchcom.c 
                         ucycom.c ufoma.c uftdi.c ugensa.c uipaq.c 
                         umct.c umodem.c umoscom.c uplcom.c 
                         usb_serial.c usb_serial.h uslcom.c 
                         uvisor.c uvscom.c 
  Log:
  SVN rev 221612 on 2011-05-07 22:20:01Z by n_hibma
  
  MFC overview:
  - Fix busg in events provided to devd from the USB stack.
  - Provide more info on the u3g devices that attached.
  - Make the ucom device numbering more sane.
  
  MFC r214429
  
  Add support for setting per-interface PnP information.
  
  MFC r214761
  
  - Simplify the way unit/subunit allocation is done in ucom.
  - hw.usb.ucom.cons_unit is now split into
    hw.usb.ucom.cons_unit/...cons_subunit.
  
    Note: The tunable/sysctl hw.usb.ucom.cons_unit needs to be reviewed if
  
    a) a console was defined a USB serial devices, and a USB device with
    more than 1 subunit is present, and this device is attached before the
    device functioning as a console
  
    or
  
    b) a console was defined on a USB device with more than 1 subunit
  
  MFC r214809
  
    Don't terminate the notification with \n. This is done in
    usb_device.c:devctl_notify_f().
  
  MFC r214830
  
  Bugfix: Move the 'at <location string' to the beginning of the attach
  notification. devd would stop evaluating at 'at' (not '<k>=<v>') and
  hence prevent 'port=X' (and 'bus=<"on" string>) from making it into the
  environment for the devd action.
  
  MFC r214831
  
  - Remove an unused entry from the softc (only used in a debugging printf).
  - Fix the loop count on detach (causing a panic on detaching a serial
    dongle).
  - Increase a buffer in case some driver want extra long tty device names
    (postfixing the purpose of the tty for example, e.g. u3g.ppp).
  
  MFC r214843
  
  Implement ucom_set_pnpinfo_usb() providing ttyname and port number
  information through devd. My E220 now produces the notification (1 line):
  
          +u3g0 at bus=1 hubaddr=1 port=0 devaddr=2 interface=0 \
          vendor=0x12d1 product=0x1003 devclass=0x00 devsubclass=0x00 \
          sernum="" release=0x0000 intclass=0xff intsubclass=0xff \
          ttyname=U0 ttyports=2 on uhub0
  
  Note: serial/ufoma and net/uhso still provide port number and tty name
  (uhso only) information through sysctls, which should now be removed.
  
  MFC r214919
  
  Bugfix: Set the bit that marks a device number in use.
  This would cause a panic when disconnecting the second serial device.
  
  Revision   Changes    Path
  1.3.2.8    +15 -14    src/sys/dev/usb/net/uhso.c
  1.19.2.28  +10 -8     src/sys/dev/usb/serial/u3g.c
  1.9.2.6    +3 -1      src/sys/dev/usb/serial/uark.c
  1.10.2.6   +3 -1      src/sys/dev/usb/serial/ubsa.c
  1.13.2.8   +2 -1      src/sys/dev/usb/serial/ubser.c
  1.11.2.7   +3 -1      src/sys/dev/usb/serial/uchcom.c
  1.11.2.6   +4 -2      src/sys/dev/usb/serial/ucycom.c
  1.14.2.6   +4 -2      src/sys/dev/usb/serial/ufoma.c
  1.12.2.19  +3 -1      src/sys/dev/usb/serial/uftdi.c
  1.11.2.7   +3 -1      src/sys/dev/usb/serial/ugensa.c
  1.10.2.9   +3 -1      src/sys/dev/usb/serial/uipaq.c
  1.13.2.7   +3 -1      src/sys/dev/usb/serial/umct.c
  1.15.2.8   +3 -1      src/sys/dev/usb/serial/umodem.c
  1.10.2.6   +3 -1      src/sys/dev/usb/serial/umoscom.c
  1.13.2.12  +3 -1      src/sys/dev/usb/serial/uplcom.c
  1.11.2.7   +96 -110   src/sys/dev/usb/serial/usb_serial.c
  1.6.2.3    +6 -5      src/sys/dev/usb/serial/usb_serial.h
  1.11.2.8   +3 -1      src/sys/dev/usb/serial/uslcom.c
  1.11.2.10  +3 -1      src/sys/dev/usb/serial/uvisor.c
  1.10.2.5   +3 -1      src/sys/dev/usb/serial/uvscom.c
  1.44.2.23  +50 -9     src/sys/dev/usb/usb_device.c
  1.28.2.17  +4 -2      src/sys/dev/usb/usb_hub.c
  1.71.2.9   +3 -0      src/sys/dev/usb/usbdi.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105072220.p47MKJeV077839>