#include "../../bootmii_ppc.h"
inline static void wait_ms(int ms)
{
- int i=0;
- for(;i<ms;i++)
+ while(ms--)
udelay(1000);
}
typedef struct usb_irp_t usb_irp;
struct usb_irp_t {
- //u8 devaddress;
usb_device * dev;
u8 endpoint; /* ep -> bit 7 is for direction 1=from dev to host */
u8 epsize;
u8 type; /* control, interrupt, bulk or isochron */
- char * buffer;
+ u8 *buffer;
u16 len;
//list * td_list;
u8 iso;
u8 togl;
- char * buffer;
+ u8 *buffer;
u16 actlen;
u8 state;
usb_transfer_descriptor *next;
+ u8 maxp;
};
//typedef struct usb_core_t usb_core;