1. 10 9月, 2005 22 次提交
  2. 09 9月, 2005 2 次提交
  3. 08 9月, 2005 3 次提交
  4. 06 9月, 2005 2 次提交
    • J
      [PATCH] I2C: Kill i2c_algorithm.id (6/7) · 1684a984
      Jean Delvare 提交于
      In theory, there should be no more users of I2C_ALGO_* at this point.
      However, it happens that several drivers were using I2C_ALGO_* for
      adapter ids, so we need to correct these before we can get rid of all
      the I2C_ALGO_* definitions.
      
      Note that this also fixes a bug in media/video/tvaudio.c:
      
      	/* don't attach on saa7146 based cards,
      	   because dedicated drivers are used */
      	if ((adap->id & I2C_ALGO_SAA7146))
      		return 0;
      
      This test was plain broken, as it would succeed for many more adapters
      than just the saa7146: any those id would share at least one bit with
      the saa7146 id. We are really lucky that the few other adapters we want
      this driver to work with did not fulfill that condition.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      1684a984
    • J
      [PATCH] I2C: Kill i2c_algorithm.id (5/7) · c7a46533
      Jean Delvare 提交于
      Merge the algorithm id part (16 upper bits) of the i2c adapters ids
      into the definition of the adapters ids directly. After that, we don't
      need to OR both ids together for each i2c_adapter structure.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      c7a46533
  5. 05 9月, 2005 5 次提交
  6. 24 8月, 2005 1 次提交
  7. 19 8月, 2005 1 次提交
  8. 16 8月, 2005 2 次提交
    • A
      [PATCH] intelfb/fbdev: Save info->flags in a local variable · 3edea483
      Antonino A. Daplas 提交于
      Reported by: Pavel Kysilka (Bugzilla Bug 5059)
      
      The intelfb driver does not keep resolution set with fbset after
      switching to anot console and back.
      
      Steps to reproduce:
      
        initial options: tty1,tty2 - 1024x768-60
        1) tty1 - fbset after booting (1024x768-60)
        2) tty1 - fbset 800x600-100
        tty1: 800x600-100
        3) swith to tty2, swith to tty1
        tty1: 1024x768-60 (the same resolution as default from kernel booting)
      
      This bug is caused by intelfb unintentionally destroying info->flags in
      set_par(). Therefore the flag, FBINFO_MISC_USEREVENT used to notify
      fbcon of a mode change was cleared causing the above problem. This bug
      though is not intelfb specific, as other drivers may also be affected.
      
      The fix is to save info->flags in a local variable before calling any
      of the driver hooks.  A more definitive fix (for post 2.6.13) is to
      separate info->flags into one that is set by the driver and another that
      is set by core fbdev/fbcon.
      Signed-off-by: NAntonino Daplas <adaplas@pol.net>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      3edea483
    • S
      [PATCH] intelfb: Do not ioremap entire graphics aperture · 6bd49341
      Sylvain Meyer 提交于
      Reported by: Pavel Kysilka (Bugzilla Bug 4738)
      
      modprobe of intelfb results in the following error message:
      
      	intelfb: Framebuffer driver for Intel(R) 830M/845G/852GM/855GM/865G/915G chi
      	intelfb: Version 0.9.2
      	ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 16
      	allocation failed: out of vmalloc space - use vmalloc=<size> to increase siz
      	intelfb: Cannot remap FB region.
      
      This will fail if the graphics aperture size is greater than 128 MB.
      
      Fix is to ioremap only from the beginning of graphics aperture to the
      end of the used framebuffer memory.
      Signed-off-by: NSylvain Meyer <sylvain.meyer@worldonline.fr>
      Signed-off-by: NAntonino Daplas <adaplas@pol.net>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      6bd49341
  9. 10 8月, 2005 1 次提交
  10. 09 8月, 2005 1 次提交
    • A
      [PATCH] nvidiafb: Fix initial display corruption on certain laptops · db6778db
      Antonino Daplas 提交于
      Reported by:Vincent Fortier (Bugzilla Bug 4768)
      
      "At boot time the screen appears moved to the mid right portion of the actual
      video pannel making the end of the line appears at the left edge...  It simply
      looks like moved half way to the right"
      
      His particular hardware has a display with an unusual dimension (1920x1200) but
      unfortunately has no EDID block. None of the entries in the global mode
      database is correct for this particular display, and it particularly has
      difficulty scaling up 640x480 (the default startup mode of nvidiafb) to
      1920x1200 which causes the above described problem.
      
      1, Add 1920x1200 to the global mode database.
      
      2. Let nvidiafb base the startup mode from the flatpanel dimensions only if the
        EDID block is absent, no boot mode parameter is specified by the user, and
        a flatpanel/LCD display is attached.
      Signed-off-by: NAntonino Daplas <adaplas@pol.net>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      db6778db