Hi Folks

I little patch for the AT91 USB driver. It was not possible to
configure the driver for use /dev/ entries unless you had a slave
client enabled. This is wrong. The patch fix this.

       Andrew
? at91_no_slaves.diff
? tests
Index: ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/devs/usb/at91/current/ChangeLog,v
retrieving revision 1.2
diff -u -r1.2 ChangeLog
--- ChangeLog   2 Jun 2006 18:46:13 -0000       1.2
+++ ChangeLog   6 Jun 2006 13:29:55 -0000
@@ -1,3 +1,8 @@
+2006-06-06  Andrew Lunn  <[EMAIL PROTECTED]>
+
+       * cdl/usbs_at91.cdl: Allow EP0 to be enabled when there are no
+       slave clients.
+
 2006-05-25  Andrew Lunn  <[EMAIL PROTECTED]>
 
        * src/usbs_at91_data.cxx: Change the initialization priority.  The
Index: cdl/usbs_at91.cdl
===================================================================
RCS file: /cvs/ecos/ecos/packages/devs/usb/at91/current/cdl/usbs_at91.cdl,v
retrieving revision 1.2
diff -u -r1.2 usbs_at91.cdl
--- cdl/usbs_at91.cdl   2 Jun 2006 18:46:13 -0000       1.2
+++ cdl/usbs_at91.cdl   6 Jun 2006 13:29:55 -0000
@@ -74,7 +74,7 @@
     cdl_component CYGFUN_DEVS_USB_AT91_EP0 {
         display       "Support the control endpoint 0"
         flavor        bool
-        calculated    CYGINT_IO_USB_SLAVE_CLIENTS
+        default_value CYGINT_IO_USB_SLAVE_CLIENTS
         requires      CYGPKG_IO_USB CYGPKG_IO_USB_SLAVE
         requires { 
             ((CYGNUM_HAL_ARM_AT91_CLOCK_SPEED < 48120000 && 

Reply via email to