Port-powerpc archive

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

Re: I2c



I've written a device driver for the I2C-interface built into mpc824x, I belive it's equivalent to that of the mpc107. If you like I can send you the code (I'll have to check with our management first since it is part of a company product), but I'm sure your code is probably better that the stuff I wrote anyway (I haven't written any autoconfiguration for starters). I'd be very pleased if a driver for this would be added to the netbsd-source (that way I wouldn't have to continue maintaining my own driver :).

Is it possible to get a look at your code?

Best regards,
Erik Anggard


derek godfrey wrote:

Is anyone else using I2C via say the mpc107. The current code
only really supports old bit twiddling devices typical found as
adjunct serial eeproms to PCI devices. The mpc107 for example
supports byte buffers and auto acknowledge for i2c. Also the
current (1.6) i2c code can not be autocofigured. I've coded up
both support for byte interface and autoconfiguration but would be interested if anyone else has made similar efforts.
 Also has anyone experience using compact flash directly connected to
say cardbus rather then an IDE device, as a disk device? It works
well as isa/ide/cf but for my embedded app they can't give me the ide.
linux seems to support this as does feeebsd but it doesn't look like
netbsd does (or maybe I missed it as I haven't tried it yet)

-Derek Godfrey







Home | Main Index | Thread Index | Old Index