David Brownell wrote:
>
> hmm, ohci's hcca is about 256 bytes ...
> one could hardcode "sizeof hcca" !
>
Hcca is in main memory, isn't it.
I think the size of the on-chip operational registers
(about 84 Bytes for a 2 port OHCI)
counts here.
Roman
> ----- Original Message -----
> From: "Alan Cox" <[EMAIL PROTECTED]>
> To: "Vojtech Pavlik" <[EMAIL PROTECTED]>
> Cc: "Alan Cox" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Saturday, 5 August, 2000 5:55 PM
> Subject: Re: [linux-usb] 2.2 backport: How to emulatte pci_resource_len
>
> > > doing a full compatibility library, I'd definitely use this approach,
> > > but with just UHCI and OHCI, it seems much simpler and bullet-proof to
> > > hardcode the sizes, because they are known.
> >
> > The backport currently doesnt work on many machines as it allocates
> > 256 bytes for the controller.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]