Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src
Module Name: src
Committed By: brad
Date: Sat Nov 29 18:39:15 UTC 2025
Modified Files:
src/etc: MAKEDEV.tmpl
src/share/man/man4: umcpmio.4
src/sys/dev/usb: files.usb umcpmio.c umcpmio.h umcpmio_hid_reports.h
umcpmio_io.h umcpmio_subr.c umcpmio_subr.h usbdevices.config
src/usr.sbin/umcpmioctl: printumcpmio.c printumcpmio.h putflash.c
putflash.h umcpmioctl.8 umcpmioctl.c umcpmioctl.h umcpmioctlconst.h
Added Files:
src/sys/dev/usb: umcpmio_gpio.c umcpmio_gpio.h umcpmio_iic.c
umcpmio_iic.h umcpmio_info.h umcpmio_spi.c umcpmio_spi.h
umcpmio_transport.c umcpmio_transport.h
Log Message:
umcpmio(4) version 2
o This driver supports a number of different bus frameworks.
Reorganize the driver into specific files based on the bus and
function.
o Fix an error condtion in the HID transport that happens when the
device is removed.
o Add support to the driver for the MCP2210 USB to SPI bridge. This
bridge chip is the companion to the MCP2221 / MCP2221A. The MCP2210
provides a SPI bus to any system that has a USB bus. It also provides
GPIO that is used with the gpio(4) framework and 256 bytes of EEPROM
that is exposed to a /dev/ device. It is almost certain that the chip
is just one of Microchip's PICs and while not at all perfect, is
reasonably decent if your USB bus functions well. Like the MCP2221 /
MCP2221A, umcpmioctl provides control over a number of functions to
the MCP2210.
Premade breakout boards are available from Microchip or Mikeroe, but
the MCP2210 is pretty inexpensive and it is not at all hard to roll
your own breakout for it.
To generate a diff of this commit:
cvs rdiff -u -r1.237 -r1.238 src/etc/MAKEDEV.tmpl
cvs rdiff -u -r1.6 -r1.7 src/share/man/man4/umcpmio.4
cvs rdiff -u -r1.183 -r1.184 src/sys/dev/usb/files.usb
cvs rdiff -u -r1.7 -r1.8 src/sys/dev/usb/umcpmio.c
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/usb/umcpmio.h \
src/sys/dev/usb/umcpmio_hid_reports.h src/sys/dev/usb/umcpmio_io.h \
src/sys/dev/usb/umcpmio_subr.h
cvs rdiff -u -r0 -r1.1 src/sys/dev/usb/umcpmio_gpio.c \
src/sys/dev/usb/umcpmio_gpio.h src/sys/dev/usb/umcpmio_iic.c \
src/sys/dev/usb/umcpmio_iic.h src/sys/dev/usb/umcpmio_info.h \
src/sys/dev/usb/umcpmio_spi.c src/sys/dev/usb/umcpmio_spi.h \
src/sys/dev/usb/umcpmio_transport.c src/sys/dev/usb/umcpmio_transport.h
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/usb/umcpmio_subr.c
cvs rdiff -u -r1.46 -r1.47 src/sys/dev/usb/usbdevices.config
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/umcpmioctl/printumcpmio.c \
src/usr.sbin/umcpmioctl/putflash.c
cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/umcpmioctl/printumcpmio.h \
src/usr.sbin/umcpmioctl/putflash.h \
src/usr.sbin/umcpmioctl/umcpmioctlconst.h
cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/umcpmioctl/umcpmioctl.8
cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/umcpmioctl/umcpmioctl.c
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/umcpmioctl/umcpmioctl.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index