Re: [PATCH] prism54usb: Fix hail of warnings on 64bit platforms

From: Michael Wu
Date: Wed Mar 07 2007 - 12:47:50 EST


On Wednesday 07 March 2007 11:40, Alan Cox wrote:
> If you want to cast a pointer to a small value then start by turning it
> into an unsigned long so the compiler knows what is going on.
>
I already have a fix for that - just haven't pushed it up to wireless-dev yet.

> Personally I find the whole approach used by this driver for types of
> registers (which are really USB register numbers) utterly perverse...
>
The same register offsets are used in the PCI driver since version 1 usb
devices are really just the PCI device with a usb->pci bridge chip attached.

-Michael Wu

Attachment: pgp00000.pgp
Description: PGP signature