1. 20 Sep, 2002 10 commits
    • Jeff Garzik's avatar
      Merge mandrakesoft.com:/home/jgarzik/repo/linus-2.5 · acc61735
      Jeff Garzik authored
      into mandrakesoft.com:/home/jgarzik/repo/net-drivers-2.5
      acc61735
    • Steven Cole's avatar
    • Jeff Garzik's avatar
      Merge mandrakesoft.com:/home/jgarzik/repo/linus-2.5 · 2914f53c
      Jeff Garzik authored
      into mandrakesoft.com:/home/jgarzik/repo/net-drivers-2.5
      2914f53c
    • Jeff Garzik's avatar
      Merge mandrakesoft.com:/home/jgarzik/repo/linus-2.5 · 8900dac7
      Jeff Garzik authored
      into mandrakesoft.com:/home/jgarzik/repo/net-drivers-2.5
      8900dac7
    • Patrick Mochel's avatar
      [PATCH] Adding driver model support in IDE · 18277e88
      Patrick Mochel authored
      This adds the basic driver model support for the IDE subsystem.
      
      Basically, it registers the controllers and devices with the driver
      model core, which puts them in the device tree and gets them a directory
      in driverfs.  The driverfs layout looks like this (on my workstation):
      
      	[mochel@cherise mochel]$ tree -d /sys/root/pci0/
      	/sys/root/pci0/
      	|-- 00:00.0
      	|-- 00:01.0
      	|   `-- 01:00.0
      	|-- 00:02.0
      	|   `-- 02:1f.0
      	|       `-- 03:00.0
      	|-- 00:1e.0
      	|   `-- 04:04.0
      	|-- 00:1f.0
      	|-- 00:1f.1
      	|   |-- ide0
      	|   |   |-- 0.0
      	|   |   `-- 0.1
      	|   `-- ide1
      	|       |-- 1.0
      	|       `-- 1.1
      
      The drive bus IDs (the directory names)  are created using this:
      
      	sprintf(bus_id,"%u.%u",hwif->index,unit);
      
      which should give each drive a unique name for the entire system, right?
      
      I've also created a struct bus_type for IDE, which gives ide a directory
      in the driverfs bus/ directory. The layout of that is:
      
      	[mochel@cherise mochel]$ tree -d /sys/bus/ide/
      	/sys/bus/ide/
      	|-- devices
      	|   |-- 0.0 -> ../../../root/pci0/00:1f.1/ide0/0.0
      	|   |-- 0.1 -> ../../../root/pci0/00:1f.1/ide0/0.1
      	|   |-- 1.0 -> ../../../root/pci0/00:1f.1/ide1/1.0
      	|   `-- 1.1 -> ../../../root/pci0/00:1f.1/ide1/1.1
      	`-- drivers
      
      Those are symlinks under devices/ (which is why the drive names must be
      unique..). When drivers are registered with the IDE core, they should also
      be passed through the core, which will give them a directory in the
      drivers/ directory just above.
      
      In general, there is a bit of code that can be cleaned up, and some
      explicit calls removed, because of the way the driver model core works.
      Most of these are pretty simple, and barring any objections, I will
      implement and send them to you.
      18277e88
    • Jens Axboe's avatar
      [PATCH] IDE fixes · f3533a9f
      Jens Axboe authored
      starting from 2.5.35 IDE stopped working on my alphas because of
      following problems:
      
      - ide_hwif_configure() ignores BARs for IDE base/control registers
        and assumes legacy 0x1f0/0x170 ports, unless controller reports
        native PCI mode (ProgIf bits 0 and 2).
      
        This is incorrect, as there are quite a few IDE chips operating
        in "semi-legacy" mode, i.e. legacy interrupts, but functional
        BAR0-3, like cy82c693 and ali5229. I guess Andre could give a lot
        more examples. :-)
      
        This happens to work on i386 simply because BIOS usually assigns
        legacy values to BAR0-3, but we can't rely on it.
      
        Just checking respective resource->start for zero should work in
        all cases.
      
      - ide_pci_check_iomem(): resource->flags == 0 means "unconfigured" as well.
        Thus we avoid false positives.
      
      - Apparently cut'n'paste typo in cy82c693.c - wrong PCI IDs.
      f3533a9f
    • Linus Torvalds's avatar
    • Linus Torvalds's avatar
      Linux 2.5.37 · 67cba4d4
      Linus Torvalds authored
      67cba4d4
    • Jens Axboe's avatar
      [PATCH] IDE maintainer updates · fd12501c
      Jens Axboe authored
      fd12501c
    • Linus Torvalds's avatar
      Merge http://ppc.bkbits.net/for-linus-ppc64 · f1ff1711
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      f1ff1711
  2. 21 Sep, 2002 11 commits
  3. 20 Sep, 2002 9 commits
  4. 19 Sep, 2002 10 commits