[PATCH 2.6.9-rc1] mpspec.h (x86_64)

From: achew (achew_at_nvidia.com)
Date: 08/25/04

  • Next message: Jesse Barnes: "[PATCH] fix cc-version breakage"
    Date:	Tue, 24 Aug 2004 16:47:03 -0700
    To: linux-kernel@vger.kernel.org
    
    

    MAX_MP_BUSSES needs to be increased to support some MP systems.

    This patch increases it to the maximum addressable range, given the 8-bit bus ID field of MP table bus entries.
    Derived from mpspec.h from the 2.4-series kernel.

    --- linux-2.6.9-rc1/include/asm-x86_64/mpspec.h 2004-08-13 22:36:57.000000000 -0700
    +++ linux/include/asm-x86_64/mpspec.h 2004-08-24 16:29:37.193956560 -0700
    @@ -156,8 +156,8 @@
      * 7 2 CPU MCA+PCI
      */
     
    -#define MAX_IRQ_SOURCES 256
    -#define MAX_MP_BUSSES 32
    +#define MAX_MP_BUSSES 257
    +#define MAX_IRQ_SOURCES (MAX_MP_BUSSES*4)
     enum mp_bustype {
             MP_BUS_ISA = 1,
             MP_BUS_EISA,

    -
    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: Jesse Barnes: "[PATCH] fix cc-version breakage"

    Relevant Pages

    • Re: [patch 1/2] fakephp: introduce pci_bus_add_device
      ... Sorry about that, updated patch follows: ... * This adds a single pci device to the global ... * @bus: bus to check for new devices ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • [PATCH] usb: klist_node_attached() fix
      ... it's checking to see if the device is attached to the bus or not ... This patch returns the check to its ... /* if interface was already added, bind now; ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Patch for ub in 2.6.10-rc1
      ... * even if a webcam hogs the bus, but some devices need time to spin up. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: What protection does sysfs_readdir have with SMP/Preemption?
      ... The patch returns a failure after 30 calls. ... Probing PCI hardware (bus 00) ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH 1/2] pci: Block config access during BIST
      ... would actually make a much smaller patch... ... > kernel after the adapter device driver gets loaded, ... If we ever endup rescanning the bus segment, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)