View Single Post
Old 09-12-06, 07:30 AM   #2
Registered User
Join Date: Jan 2006
Posts: 8
Angry Re: Compiling against 2.6.18-rc6-mm[12] ?

Nope. I've got the same trouble. Seems like the i2c stuffed changed in the prepatch kernel, see the following diff:

root@emperor:/usr/src# diff linux-2.6.18-rc6/include/linux/i2c.h linux-2.6.18-rc6-mm2/include/linux/i2c.h
< /*
<  * Some adapter types (i.e. PCF 8584 based ones) may support slave behaviuor.
<  * This is not tested/implemented yet and will change in the future.
<  */
< extern int i2c_slave_send(struct i2c_client *,char*,int);
< extern int i2c_slave_recv(struct i2c_client *,char*,int);
<       /* --- these optional/future use for some adapter types.*/
<       int (*slave_send)(struct i2c_adapter *,char*,int);
<       int (*slave_recv)(struct i2c_adapter *,char*,int);
<       struct i2c_algorithm *algo;/* the algorithm to access the bus   */
>       const struct i2c_algorithm *algo; /* the algorithm to access the bus */
The trouble is that exactly the mm2 kernel does work with the JMicron SATA controllor on my brand new Asus P5N. If I use the xorg nv driver instead of the nvidia, I'll get "(II) NV(0): Mode "1600x1200" is larger than BIOS programmed panel size of 1280 x 1024. Removing."

So I can either:
  • use my DVD Rom (2.6.18-rc6-mm2 with xorg.nv) or
  • work in 1600x1200 (2.6.18-rc6 with NVIDIA)
    but not both at the same time.

Who should change here: nvidia or the kernel?
darthvader42 is offline   Reply With Quote