12 Feb, 2008

1 commit

  • The MegaRAID driver's common management module (megaraid_mm.c) creates a
    char device used by the management tool "megarc" from LSI Logic (and
    possibly other management tools).

    In 2.6 with udev, this device doesn't get created because it is not
    registered in sysfs.

    I first fixed this by registering a class "megaraid_mm", but realized that
    this should probably be moved to misc devices, instead of taking up a char
    major. This is because only 1 device is used, even if there are multiple
    adapters - the minor is never used (the adapter info is in the ioctl block
    sent to the driver, not detected based on the minor number as one might
    think). So it is a complete waste to have an entire major taken by this.

    So it now uses a misc device which I named "megadev0" (the name that megarc
    expects), and has a dynamic minor (previoulsy a dynamic major was used).

    I have tested this on my own system with the megarc tool, and it works just
    as fine as before (only now the device gets created correctly by udev).

    Acked-by: "Patro, Sumant"
    Signed-off-by: Andrew Morton
    Signed-off-by: James Bottomley

    Thomas Horsten
     

29 Jul, 2006

1 commit


11 Jan, 2006

1 commit


09 Nov, 2005

1 commit

  • This patch removes almost all inclusions of linux/version.h. The 3
    #defines are unused in most of the touched files.

    A few drivers use the simple KERNEL_VERSION(a,b,c) macro, which is
    unfortunatly in linux/version.h.

    There are also lots of #ifdef for long obsolete kernels, this was not
    touched. In a few places, the linux/version.h include was move to where
    the LINUX_VERSION_CODE was used.

    quilt vi `find * -type f -name "*.[ch]"|xargs grep -El '(UTS_RELEASE|LINUX_VERSION_CODE|KERNEL_VERSION|linux/version.h)'|grep -Ev '(/(boot|coda|drm)/|~$)'`

    search pattern:
    /UTS_RELEASE\|LINUX_VERSION_CODE\|KERNEL_VERSION\|linux\/\(utsname\|version\).h

    Signed-off-by: Olaf Hering
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Olaf Hering
     

21 May, 2005

1 commit


17 Apr, 2005

1 commit

  • Initial git repository build. I'm not bothering with the full history,
    even though we have it. We can create a separate "historical" git
    archive of that later if we want to, and in the meantime it's about
    3.2GB when imported into git - space that would just make the early
    git days unnecessarily complicated, when we don't have a lot of good
    infrastructure for it.

    Let it rip!

    Linus Torvalds