Building Areca arcmsr driver outside kernel source tree

From: Matt Dainty (matt_at_bodgit-n-scarper.com)
Date: 03/19/05

  • Next message: Jesper Juhl: "[PATCH] remove redundant NULL check before before kfree() in kernel/sysctl.c"
    To: linux-kernel@vger.kernel.org, Erich Chen <erich@areca.com.tw>
    Date:	Sat, 19 Mar 2005 18:47:27 +0000
    
    
    

    To get the arcmsr driver working with CentOS/RHEL 4 and using the
    facility to build kernel modules outside of the kernel source tree, I
    found the attached patch was necessary to remove the dependencies on the
    internal drivers/scsi/scsi*.h header files and to instead use the public
    ones found under include/scsi/ which are provided by the kernel-*-devel
    packages.

    It builds, loads and appears to work with my limited testing on an
    ARC1120. I was just wanting to know if this was the right way to fix it?
    Once the driver is in the main kernel tree it's largely irrelevant, but
    while CentOS/RHEL 4 use the older kernel without the driver it's a PITA
    to maintain kernel packages with this one driver added, when a separate
    package containing just the driver is much easier.

    The patch is based on the 1.20.00.06 driver that was added to
    2.6.11-mm4.

    Thanks

    Matt

    
    

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/



  • Next message: Jesper Juhl: "[PATCH] remove redundant NULL check before before kfree() in kernel/sysctl.c"

    Relevant Pages

    • [PATCH 18-rc2] Fix typos in /Documentation : N-P
      ... Again, if you're not gonna do synchronization with disk drives (dang, ... -the kernel. ... There are two options specific to PSX driver portion. ... The driver uses the settings from the EEPROM set in the SCSI BIOS ...
      (Linux-Kernel)
    • two scary syslog kernel messages
      ... Sep 20 03:46:06 marvin kernel: kernel BUG at mm/rmap.c:482! ... ACPI: Local APIC address 0xfee00000 ... Allocating PCI resources starting at 80000000 ... ** driver failed to call pci_enable_device. ...
      (Debian-User)
    • Re: [PATCH, RFT, v4] sata_mv: convert to new EH
      ... check both new and old drives with SMART ... Use a HIGHMEM enabled kernel. ... ACPI: PM-Timer IO Port: 0xe408 ... Real Time Clock Driver v1.12ac ...
      (Linux-Kernel)
    • Re: [PATCH 18-rc3] Fix typos in /Documentation : Q-R
      ... The driver will receive them again on the ... The kernel is entered with r3 pointing to an area of memory that is ... Bits are then right shifted into the GP_SAMPLE register at the specified ... you get an interrupt when a full DWORD is recieved. ...
      (Linux-Kernel)
    • kernel Doc/ URL corrections
      ... -Documents about softnet driver issues in general can be found ... Additional documentation is available at Don Becker's Linux Drivers site: ... Just force it to be recognized by kernel parameters. ... Keywords: files, VFS, file operations, kernel interface, character ...
      (Linux-Kernel)