DragonFly BSD

CVS log for src/sys/dev/usbmisc/uplcom/uplcom.c

[BACK] Up to [DragonFly] / src / sys / dev / usbmisc / uplcom

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.26: download - view: text, markup, annotated - select for diffs
Sun Jan 13 16:04:02 2008 UTC (6 years, 7 months ago) by hasso
Branches: MAIN
CVS tags: HEAD, DragonFly_RELEASE_2_0_Slip, DragonFly_RELEASE_2_0, DragonFly_RELEASE_1_12_Slip, DragonFly_RELEASE_1_12, DragonFly_Preview
Diff to: previous 1.25: preferred, unified
Changes since revision 1.25: +0 -1 lines
Huawei UMTS/HSDPA adapetrs are already handled by umsm(4).

Revision 1.25: download - view: text, markup, annotated - select for diffs
Tue Nov 6 07:37:01 2007 UTC (6 years, 9 months ago) by hasso
Branches: MAIN
Diff to: previous 1.24: preferred, unified
Changes since revision 1.24: +0 -10 lines
Kill devinfo handling in drivers, set device description in one place -
usbd_probe_and_attach() and let generic device code to output descriptions.

Obtained-from: FreeBSD with modifications

Revision 1.24: download - view: text, markup, annotated - select for diffs
Mon Nov 5 19:09:44 2007 UTC (6 years, 9 months ago) by hasso
Branches: MAIN
Diff to: previous 1.23: preferred, unified
Changes since revision 1.23: +0 -1 lines
Nuke usbdevs and references to it.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Mon Nov 5 13:32:28 2007 UTC (6 years, 9 months ago) by hasso
Branches: MAIN
Diff to: previous 1.22: preferred, unified
Changes since revision 1.22: +46 -84 lines
Kill usage of USB_VENDOR_FOO and USB_PRODUCT_BAR defines mostly using two
methods:

  - USB_DEVICE(vendor_id, product_id) macro.
  - Using C99 structure initialisers.

While at it, kill all custom "vendor and product id pair" structures and
custom walkthrough methods for these structures.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Sun Aug 19 17:16:43 2007 UTC (7 years ago) by hasso
Branches: MAIN
Diff to: previous 1.21: preferred, unified
Changes since revision 1.21: +38 -45 lines
Use device_printf() where it makes sense.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sun Aug 19 10:19:43 2007 UTC (7 years ago) by hasso
Branches: MAIN
Diff to: previous 1.20: preferred, unified
Changes since revision 1.20: +2 -0 lines
Add Smart Technologies USB to serial adapter.

Obtained-from: NetBSD

Revision 1.15.2.2: download - view: text, markup, annotated - select for diffs
Mon Aug 13 13:39:40 2007 UTC (7 years ago) by hasso
Branches: DragonFly_RELEASE_1_10
CVS tags: DragonFly_RELEASE_1_10_Slip
Diff to: previous 1.15.2.1: preferred, unified; next MAIN 1.16: preferred, unified
Changes since revision 1.15.2.1: +1 -1 lines
Correct Sitecom USB to serial converter entry.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Mon Aug 13 12:26:51 2007 UTC (7 years ago) by hasso
Branches: MAIN
Diff to: previous 1.19: preferred, unified
Changes since revision 1.19: +0 -2 lines
Magic Control Technology (MCT) USB to serial converters are not handled by
uplcom(4), but by umct(4).

The error seems to be introduced with rev 1.9 during merge from FreeBSD.
It's probably caused by the fact that Sitecom USB to serial converters use
both - Prolific and MCT chipsets.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Tue Aug 7 10:42:41 2007 UTC (7 years ago) by hasso
Branches: MAIN
Diff to: previous 1.18: preferred, unified
Changes since revision 1.18: +0 -1 lines
Reomve unnecessary sys/vnode.h include.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Thu Aug 2 11:53:30 2007 UTC (7 years, 1 month ago) by hasso
Branches: MAIN
Diff to: previous 1.17: preferred, unified
Changes since revision 1.17: +73 -25 lines
Add support for many new devices into uplcom(4). IDs are obtained from
OpenBSD, NetBSD and Linux (mostly). Also clarify comments in driver and
info in the manpage based on info from vendors (if available).

Revision 1.17: download - view: text, markup, annotated - select for diffs
Thu Aug 2 11:20:29 2007 UTC (7 years, 1 month ago) by hasso
Branches: MAIN
Diff to: previous 1.16: preferred, unified
Changes since revision 1.16: +44 -73 lines
Better chips distinguishing code for uplcom(4).

Kill current method to distinguish between old PL-2303(H) and newer
PL-2303(H)X chips. Instead of managing the list which vendor/device
combination in known to use which chip, distinguish chips with algorithm
borrowed from the Linux driver.

Revision 1.15.2.1: download - view: text, markup, annotated - select for diffs
Tue Jul 31 22:40:50 2007 UTC (7 years, 1 month ago) by dillon
Branches: DragonFly_RELEASE_1_10
Diff to: previous 1.15: preferred, unified
Changes since revision 1.15: +1 -1 lines
Synchronize all changes made in HEAD to date with the 1.10 release branch.

* usbdevs update
* header file fixes
* vinum root
* vinum device I/O fixes
* MD fixes
* New PCI ids for netif rum and ural
* New USB uplcom ids
* linux exec memory leak
* devclass ordering fixes (sound devices)
* rate-limited kprintf support (filesystem full console spams)
* msdosfs fixes
* Manual page work

Revision 1.16: download - view: text, markup, annotated - select for diffs
Fri Jul 27 18:07:21 2007 UTC (7 years, 1 month ago) by hasso
Branches: MAIN
Diff to: previous 1.15: preferred, unified
Changes since revision 1.15: +1 -1 lines
Regenerate usbdevs.h and usbdevs_data.h and fix affected drivers to use new
data.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Tue Jul 3 19:28:16 2007 UTC (7 years, 2 months ago) by hasso
Branches: MAIN
Branch point for: DragonFly_RELEASE_1_10
Diff to: previous 1.14: preferred, unified
Changes since revision 1.14: +2 -2 lines
Remove last usb_port.h defines usages from the tree - selwakeuppri(),
config_pending_*(), config_detach(), clalloc(), clfree(), usb_malloc_type
and usb_proc_ptr.

Move some defines to bus/usb/usb.h and remove bus/usb/usb_port.h include
from there. Drivers that want to use portability macros have to include
<bus/usb/usb_port.h> directly.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Jul 1 21:24:04 2007 UTC (7 years, 2 months ago) by hasso
Branches: MAIN
Diff to: previous 1.13: preferred, unified
Changes since revision 1.13: +12 -10 lines
Nuke USB_MATCH*, USB_ATTACH* and USB_DETACH* macros.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Thu Jun 28 13:55:13 2007 UTC (7 years, 2 months ago) by hasso
Branches: MAIN
Diff to: previous 1.12: preferred, unified
Changes since revision 1.12: +1 -1 lines
Nuke SIMPLEQ_* and logprintf.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Thu Jun 28 06:32:33 2007 UTC (7 years, 2 months ago) by hasso
Branches: MAIN
Diff to: previous 1.11: preferred, unified
Changes since revision 1.11: +50 -50 lines
Nuke device_ptr_t, USBBASEDEVICE, USBDEVNAME(), USBDEVUNIT(), USBGETSOFTC(),
USBDEVPTRNAME() and Static with help from sed(1).

Revision 1.11: download - view: text, markup, annotated - select for diffs
Wed Jun 27 12:28:00 2007 UTC (7 years, 2 months ago) by hasso
Branches: MAIN
Diff to: previous 1.10: preferred, unified
Changes since revision 1.10: +0 -4 lines
Nuke the code specific to NetBSD/OpenBSD/FreeBSD at first. I doubt anyone
will update these pieces and I don't intend to review macros for all
platforms.

There is the chance though that I might kill something which should stay
in the code in form "TODO: port it to DF". So, please review and kick me.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri Dec 22 23:26:26 2006 UTC (7 years, 8 months ago) by swildner
Branches: MAIN
CVS tags: DragonFly_RELEASE_1_8_Slip, DragonFly_RELEASE_1_8
Diff to: previous 1.9: preferred, unified
Changes since revision 1.9: +21 -21 lines
Rename printf -> kprintf in sys/ and add some defines where necessary
(files which are used in userland, too).

Revision 1.9: download - view: text, markup, annotated - select for diffs
Mon Nov 13 21:39:19 2006 UTC (7 years, 9 months ago) by swildner
Branches: MAIN
Diff to: previous 1.8: preferred, unified
Changes since revision 1.8: +208 -26 lines
Sync the uplcom(4) driver with FreeBSD.

Submitted-by: Johannes Hofmann <Johannes.Hofmann@gmx.de>
Reviewed-by:  dillon

I did some minor fixes and synced the manpage, too.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Sep 5 00:55:44 2006 UTC (7 years, 11 months ago) by dillon
Branches: MAIN
Diff to: previous 1.7: preferred, unified
Changes since revision 1.7: +6 -6 lines
Rename malloc->kmalloc, free->kfree, and realloc->krealloc.  Pass 1

Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Mar 15 02:27:57 2004 UTC (10 years, 5 months ago) by dillon
Branches: MAIN
CVS tags: DragonFly_Stable, DragonFly_Snap29Sep2004, DragonFly_Snap13Sep2004, DragonFly_RELEASE_1_6_Slip, DragonFly_RELEASE_1_6, DragonFly_RELEASE_1_4_Slip, DragonFly_RELEASE_1_4, DragonFly_RELEASE_1_2_Slip, DragonFly_RELEASE_1_2, DragonFly_1_0_REL, DragonFly_1_0_RC1, DragonFly_1_0A_REL
Diff to: previous 1.6: preferred, unified
Changes since revision 1.6: +1 -1 lines
Do some M_WAITOK<->M_INTWAIT cleanups.  Code entered from userland, such as
device open and device ioctl, generally use M_WAITOK, while low level
structures such as the capacity structure are allocated using M_INTWAIT.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed Feb 11 15:13:06 2004 UTC (10 years, 6 months ago) by joerg
Branches: MAIN
Diff to: previous 1.5: preferred, unified
Changes since revision 1.5: +1 -1 lines
Add defined(__FreeBSD__) and defined(__DragonFly__) where appropiriate.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Dec 30 01:01:47 2003 UTC (10 years, 8 months ago) by dillon
Branches: MAIN
Diff to: previous 1.4: preferred, unified
Changes since revision 1.4: +12 -12 lines
Bring in the entire FreeBSD-5 USB infrastructure.  As of this commit my
USB camera, Hard Drive, Mouse, and Sony memory key all work and I can even
unplug and replug them in without crashing the port.

Not all drivers and subsystems compile as of this commit, but the ones that
do not are very close.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Dec 29 06:42:20 2003 UTC (10 years, 8 months ago) by dillon
Branches: MAIN
Diff to: previous 1.3: preferred, unified
Changes since revision 1.3: +39 -6 lines
Synchronize the USB, CAM, and TASKQUEUE subsystems with FreeBSD RELENG_4.
Also update the $FreeBSD$ ids in the files to the synchronized rev numbers.

This has the side effect of bringing in some additional SCSI robustness
checks, bug fixes, quirk inheritance between subsystems (e.g. USB now sets
PIM_NO_6_BYTE by default and CAM now understands it).

This also brings in a huge amount of SCSI CD code that had been MFCd to
FreeBSD-4 from FreeBSD-5.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu Aug 7 21:17:15 2003 UTC (11 years ago) by dillon
Branches: MAIN
Diff to: previous 1.2: preferred, unified
Changes since revision 1.2: +8 -8 lines
kernel tree reorganization stage 1: Major cvs repository work (not logged as
commits) plus a major reworking of the #include's to accomodate the
relocations.

    * CVS repository files manually moved.  Old directories left intact
      and empty (temporary).

    * Reorganize all filesystems into vfs/, most devices into dev/,
      sub-divide devices by function.

    * Begin to move device-specific architecture files to the device
      subdirs rather then throwing them all into, e.g. i386/include

    * Reorganize files related to system busses, placing the related code
      in a new bus/ directory.  Also move cam to bus/cam though this may
      not have been the best idea in retrospect.

    * Reorganize emulation code and place it in a new emulation/ directory.

    * Remove the -I- compiler option in order to allow #include file
      localization, rename all config generated X.h files to use_X.h to
      clean up the conflicts.

    * Remove /usr/src/include (or /usr/include) dependancies during the
      kernel build, beyond what is normally needed to compile helper
      programs.

    * Make config create 'machine' softlinks for architecture specific
      directories outside of the standard <arch>/include.

    * Bump the config rev.

    WARNING! after this commit /usr/include and /usr/src/sys/compile/*
    should be regenerated from scratch.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Jun 17 04:28:32 2003 UTC (11 years, 2 months ago) by dillon
Branches: MAIN
CVS tags: PRE_MP
Diff to: previous 1.1: preferred, unified
Changes since revision 1.1: +1 -0 lines
Add the DragonFly cvs id and perform general cleanups on cvs/rcs/sccs ids.  Most
ids have been removed from !lint sections and moved into comment sections.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Jun 17 02:54:30 2003 UTC (11 years, 2 months ago) by dillon
Branches: MAIN
CVS tags: FREEBSD_4_FORK
import from FreeBSD RELENG_4 1.8.2.1

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options