[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Writing device driver for alpha

Cyrus Patel <cyrus@penguinpowered.com> writes:

> Hi all,
> I recently bought an old multia. I am currently writing a device driver 
> for a PCMCIA card. The driver is intended for an x86 laptop but since 
> I do not have a laptop to write the driver on I am using the multia 
> which has a PCMCIA slot.
> I was wondering if this would cause any compatibility problems ie
> when I finish the driver on the multia will it work on an x86 laptop?
> Thank you in advance,
> Cyrus

Yes and no. Depends on how you write it.

Be aware of the size differences for various types. Best to use int8,
int16, int32 defines from somewhere in the kernel includes (types.h ?).

Also keep an eye on endianess, because some archs do it the right way.

May the Source be with you.

Reply to: