The NetBSD Project

CVS log for src/sys/dev/usb/udl.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / dev / usb

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.12 / (download) - annotate - [select for diffs], Fri Dec 12 05:19:33 2014 UTC (8 days, 7 hours ago) by msaitoh
Branch: MAIN
CVS Tags: HEAD
Changes since 1.11: +3 -2 lines
Diff to previous 1.11 (colored)

Add BUFFALO GX-DVI/U2B DisplayLink USB-DVI box. PR#49105 from MOCHIDA Shuji.

Revision 1.11.6.2 / (download) - annotate - [select for diffs], Tue Dec 2 09:00:34 2014 UTC (2 weeks, 4 days ago) by skrll
Branch: nick-nhusb
Changes since 1.11.6.1: +4 -4 lines
Diff to previous 1.11.6.1 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored)

Step #1 of memory allocation re-organisation.

Centralised the buffer allocation routine which now supports DMA
and non-DMA capable host controllers.  Remove the
ubm_{alloc,free}m methods from usbd_bus_methods.

The buffer allocation is only allowed in thread context and,
therefore, negates the usefulness of the reserve dma code which
is removed in this change.

USBD_NO_COPY is also no longer required as usbd_transfer and
usbd_transfer_complete now track buffer usage and handle any
copying.

Revision 1.11.6.1 / (download) - annotate - [select for diffs], Mon Dec 1 13:03:05 2014 UTC (2 weeks, 4 days ago) by skrll
Branch: nick-nhusb
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

Remove the lbl argument from usbd_{bulk,intr}_transfer.

Revision 1.6.10.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:51 2014 UTC (4 months ago) by tls
Branch: tls-maxphys
Changes since 1.6.10.1: +8 -4 lines
Diff to previous 1.6.10.1 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.5.2.3 / (download) - annotate - [select for diffs], Thu May 22 11:40:37 2014 UTC (6 months, 4 weeks ago) by yamt
Branch: yamt-pagecache
Changes since 1.5.2.2: +8 -4 lines
Diff to previous 1.5.2.2 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.8.2.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:47 2014 UTC (7 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.8: +8 -4 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

sync with head

Revision 1.11 / (download) - annotate - [select for diffs], Sun Feb 23 13:22:32 2014 UTC (9 months, 3 weeks ago) by skrll
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, nick-nhusb-base, netbsd-7-base, netbsd-7
Branch point for: nick-nhusb
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

Update a comment

Revision 1.10 / (download) - annotate - [select for diffs], Thu Nov 14 13:11:50 2013 UTC (13 months ago) by skrll
Branch: MAIN
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

Use __diagused

Revision 1.9 / (download) - annotate - [select for diffs], Sat Sep 14 13:15:53 2013 UTC (15 months ago) by joerg
Branch: MAIN
Changes since 1.8: +6 -2 lines
Diff to previous 1.8 (colored)

Conditionalize udl_draw_line_comp and udl_cmp_add_buf_comp

Revision 1.6.10.1 / (download) - annotate - [select for diffs], Mon Feb 25 00:29:38 2013 UTC (21 months, 3 weeks ago) by tls
Branch: tls-maxphys
Changes since 1.6: +7 -3 lines
Diff to previous 1.6 (colored)

resync with head

Revision 1.5.2.2 / (download) - annotate - [select for diffs], Wed Jan 23 00:06:13 2013 UTC (22 months, 3 weeks ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.5.2.1: +7 -3 lines
Diff to previous 1.5.2.1 (colored) to branchpoint 1.5 (colored)

sync with head

Revision 1.8 / (download) - annotate - [select for diffs], Mon Jan 14 18:24:05 2013 UTC (23 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base8, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: rmind-smpnet
Changes since 1.7: +3 -2 lines
Diff to previous 1.7 (colored)

PR/47447: YAMASHIRO, Jun: New device id for udl(4)

Revision 1.7 / (download) - annotate - [select for diffs], Thu Dec 27 16:42:32 2012 UTC (23 months, 3 weeks ago) by skrll
Branch: MAIN
Changes since 1.6: +6 -3 lines
Diff to previous 1.6 (colored)

Consistent/Correct error message from failing usbd_set_config.

Use aprint_error_dev.

Revision 1.5.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:08:07 2012 UTC (2 years, 8 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.5: +3 -2 lines
Diff to previous 1.5 (colored)

sync with head

Revision 1.6 / (download) - annotate - [select for diffs], Sun Nov 20 12:29:33 2011 UTC (3 years, 1 month ago) by nonaka
Branch: MAIN
CVS Tags: yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, mrg-ohci-jmcneill-usbmp-base, mrg-ohci-jmcneill-usbmp, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp
Branch point for: tls-maxphys
Changes since 1.5: +3 -2 lines
Diff to previous 1.5 (colored)

Added "Lenovo ThinkVision LT1421 Wide" entry.

Revision 1.5 / (download) - annotate - [select for diffs], Fri Jul 22 12:40:55 2011 UTC (3 years, 4 months ago) by nonaka
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache
Changes since 1.4: +8 -2 lines
Diff to previous 1.4 (colored)

PR/45133: usb/udl(4): Add new device ID
Applied patch.

Revision 1.3.6.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:20:10 2011 UTC (3 years, 5 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.3: +3 -2 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.2.4.2 / (download) - annotate - [select for diffs], Sun Jun 12 00:24:26 2011 UTC (3 years, 6 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.2.4.1: +3 -2 lines
Diff to previous 1.2.4.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

sync with head

Revision 1.4 / (download) - annotate - [select for diffs], Sat Jun 11 13:52:46 2011 UTC (3 years, 6 months ago) by nonaka
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base
Changes since 1.3: +3 -2 lines
Diff to previous 1.3 (colored)

Added LCD-8000UD-DVI entry.

Revision 1.2.2.3 / (download) - annotate - [select for diffs], Wed Aug 11 22:54:15 2010 UTC (4 years, 4 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.2.2.2: +3 -2 lines
Diff to previous 1.2.2.2 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

sync with head.

Revision 1.2.4.1 / (download) - annotate - [select for diffs], Sun May 30 05:17:45 2010 UTC (4 years, 6 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.2: +3 -2 lines
Diff to previous 1.2 (colored)

sync with head

Revision 1.1.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:43:52 2010 UTC (4 years, 7 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.1: +5 -4 lines
Diff to previous 1.1 (colored) next main 1.2 (colored)

Sync with HEAD.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Apr 11 13:57:22 2010 UTC (4 years, 8 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, matt-mips64-premerge-20101231, jruoho-x86intr-base, jruoho-x86intr, cherry-xenmp-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: cherry-xenmp
Changes since 1.2: +3 -2 lines
Diff to previous 1.2 (colored)

add the 19" Samsung display, make udl handle it

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:06 2010 UTC (4 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.2.2.1: +1744 -0 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored)

sync with head

Revision 1.2.2.1, Wed Feb 24 12:29:47 2010 UTC (4 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.2: +0 -1744 lines
FILE REMOVED

file udl.c was added on branch yamt-nfs-mp on 2010-03-11 15:04:06 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Wed Feb 24 12:29:47 2010 UTC (4 years, 9 months ago) by kiyohara
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9
Branch point for: yamt-nfs-mp, rmind-uvmplock
Changes since 1.1: +6 -6 lines
Diff to previous 1.1 (colored)

Fix porting miss.
  However this change in between #ifdef notyet and #endif.
  Thanks for fukaumi.

Revision 1.1 / (download) - annotate - [select for diffs], Mon Nov 30 16:18:34 2009 UTC (5 years ago) by tsutsui
Branch: MAIN
CVS Tags: uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip

Add a driver for DisplayLink DL-1x0/1x5 based USB LCDs and USB-VGA adaptors.
Ported by FUKAUMI Naoki from OpenBSD with many modification.
No particular comments (except from me) on tech-kern@.

There are still many TODO even in MI wscons(4) API to handle this device:

 * No detach function for wsdisplay(9).
   Unpluging a device causes a panic. (should be trivial?)

 * ioctl() for X server support is currently commented out. ("notyet")
   OpenBSD allows device depedent ioctl()s and they introduced
   UDLIO_DAMAGE ioctl for the damage extension ops of X servers for udl(4).
   Before blindly pulling such ioctl(), probably we should discuss
   how such specific operations should be handled in MI wscons(4) API.

 * Screen text of wsemul tty could be mangled during large scroll ops.
   All tty output operations are invoked via ttstart() with the giant
   tty_lock mutex held, so we can't call cv_wait(9) to wait resources
   for data xfers via usbdi(9).h, then text output is silently discarded
   on resource shortage. To handle this without tty_lock reorganization,
   we have to change wsdisplay(9) APIs (especially wsdisplaystart()) to
   return a number of actually handled characters as OpenBSD does, but
   it may require whole API changes around child rasops(9) etc.

 * No MI API definition to convert mmap(9) cookie to physical address.
   The conversion is required to create a cookie which will be passed to
   pmap_phys_address(9) in uvm/uvm_device.c:udv_fault(). Most other
   drivers use bus_dmamem_mmap(9) or bus_space_mmap(9), but udl(4) uses
   kmem_alloc(9)'ed memory for bitmap data.
   Furthermore, pmap(9) man page says about pmap_phys_address(9):

     "This function is provided to accommodate systems which have
      physical address spaces larger than can be directly addressed
      by the platform's paddr_t type. The existence of this function is
      highly dubious, and it is expected that this function will be
      removed from the pmap API in a future release of NetBSD."

   As the man page says we have already had split paddr_t and vaddr_t,
   so it's time to remove such old ugly cookie and change all mmap(4)
   functions (mostly in MD bus_dma(9) and bus_space(9) APIs) to return
   simple physical address in paddr_t?

 * We need proper device names for wsdisplay1 (and more devices).
   Currently wsdisplay0 uses ttyE0 through ttyE253 (minor 0 to 253)
   for screens, ttyEstat (254) for status, and ttyEcfg (255) for config.
   The next wsdisplay1 will use 256 through 509 for screens, 510 for stat,
   and 511 for config but what names should we use for them? ttyFxxx?

 * How to handle multiple sets of wskbd/wsdisplay on a single machine.
   rc.d/wscons doesn't provide method to specify wscons control devices.
   There is no proper interface to specify which keyboard should be connected
   to which wsdisplay, etc.

 * And maybe more...

This form allows you to request diff's 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.




CVSweb <webmaster@jp.NetBSD.org>