1. 15 11月, 2012 1 次提交
  2. 07 11月, 2011 1 次提交
  3. 26 7月, 2011 1 次提交
    • W
      pnpacpi: register disabled resources · 29df8d8f
      Witold Szczeponik 提交于
      When parsing PnP ACPI resource structures, it may happen that some of
      the resources are disabled (in which case "the size" of the resource
      equals zero).
      
      The current solution is to skip these resources completely - with the
      unfortunate side effect that they are not registered despite the fact
      that they exist, after all.  (The downside of this approach is that
      these resources cannot be used as templates for setting the actual
      device's resources because they are missing from the template.) The
      kernel's APM implementation does not suffer from this problem and
      registers all resources regardless of "their size".
      
      This patch fixes a problem with (at least) the vintage IBM ThinkPad 600E
      (and most likely also with the 600, 600X, and 770X which have a very
      similar layout) where some of its PnP devices support options where
      either an IRQ, a DMA, or an IO port is disabled.  Without this patch,
      the devices can not be configured using the
      "/sys/bus/pnp/devices/*/resources" interface.
      
      The manipulation of these resources is important because the 600E has
      very demanding requirements.  For instance, the number of IRQs is not
      sufficient to support all devices of the 600E.  Fortunately, some of the
      devices, like the sound card's MPU-401 UART, can be configured to not
      use any IRQ, hence freeing an IRQ for a device that requires one.
      (Still, the device's "ResourceTemplate" requires an IRQ resource
      descriptor which cannot be created if the resource has not been
      registered in the first place.)
      
      As an example, the dependent sets of the 600E's CSC0103 device (the
      MPU-401 UART) are listed, with the patch applied, as:
      
        Dependent: 00 - Priority preferred
          port 0x300-0x330, align 0xf, size 0x4, 16-bit address decoding
          irq <none> High-Edge
        Dependent: 01 - Priority acceptable
          port 0x300-0x330, align 0xf, size 0x4, 16-bit address decoding
          irq 5,7,2/9,10,11,15 High-Edge
      
      (The same result is obtained when PNPBIOS is used instead of PnP ACPI.)
      Without the patch, the IRQ resource in the preferred option is not
      listed at all:
      
        Dependent: 00 - Priority preferred
          port 0x300-0x330, align 0xf, size 0x4, 16-bit address decoding
        Dependent: 01 - Priority acceptable
          port 0x300-0x330, align 0xf, size 0x4, 16-bit address decoding
          irq 5,7,2/9,10,11,15 High-Edge
      
      And in fact, the 600E's DSDT lists the disabled IRQ as an option, as can
      be seen from the following excerpt from the DSDT:
      
      	Name (_PRS, ResourceTemplate ()
      	{
              StartDependentFn (0x00, 0x00)
              {
                  IO (Decode16, 0x0300, 0x0330, 0x10, 0x04)
                  IRQNoFlags () {}
              }
              StartDependentFn (0x01, 0x00)
              {
                  IO (Decode16, 0x0300, 0x0330, 0x10, 0x04)
                  IRQNoFlags () {5,7,9,10,11,15}
              }
              EndDependentFn ()
      	})
      
      With this patch applied, a user space program - or maybe even the kernel
      - can allocate all devices' resources optimally.  For the 600E, this
      means to find optimal resources for (at least) the serial port, the
      parallel port, the infrared port, the MWAVE modem, the sound card, and
      the MPU-401 UART.
      
      The patch applies the idea to register disabled resources to all types
      of resources, not just to IRQs, DMAs, and IO ports.  At the same time,
      it mimics the behavior of the "pnp_assign_xxx" functions from
      "drivers/pnp/manager.c" where resources with "no size" are considered
      disabled.
      
      No regressions were observed on hardware that does not require this
      patch.
      
      The patch is applied against 2.6.39.
      
      NB: The kernel's current PnP interface does not allow for disabling individual
      resources using the "/sys/bus/pnp/devices/$device/resources" file.  Assuming
      this could be done, a device could be configured to use a disabled resource
      using a simple series of calls:
      
        echo disable > /sys/bus/pnp/devices/$device/resources
        echo clear > /sys/bus/pnp/devices/$device/resources
        echo set irq disabled > /sys/bus/pnp/devices/$device/resources
        echo fill > /sys/bus/pnp/devices/$device/resources
        echo activate > /sys/bus/pnp/devices/$device/resources
      
      This patch addresses only the parsing of PnP ACPI devices.
      
      ChangeLog (v1 -> v2):
       - extend patch description
       - fix typo in patch itself
      Signed-off-by: NWitold Szczeponik <Witold.Szczeponik@gmx.net>
      Cc: Len Brown <lenb@kernel.org>
      Cc: Adam Belay <abelay@mit.edu>
      Cc: Bjorn Helgaas <bjorn.helgaas@hp.com>
      Cc: Bjorn Helgaas <bhelgaas@google.com>
      Cc: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
      Cc: Matthew Garrett <mjg@redhat.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      29df8d8f
  4. 10 6月, 2011 1 次提交
  5. 29 4月, 2010 1 次提交
  6. 04 4月, 2010 1 次提交
  7. 30 3月, 2010 1 次提交
    • T
      include cleanup: Update gfp.h and slab.h includes to prepare for breaking... · 5a0e3ad6
      Tejun Heo 提交于
      include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
      
      percpu.h is included by sched.h and module.h and thus ends up being
      included when building most .c files.  percpu.h includes slab.h which
      in turn includes gfp.h making everything defined by the two files
      universally available and complicating inclusion dependencies.
      
      percpu.h -> slab.h dependency is about to be removed.  Prepare for
      this change by updating users of gfp and slab facilities include those
      headers directly instead of assuming availability.  As this conversion
      needs to touch large number of source files, the following script is
      used as the basis of conversion.
      
        http://userweb.kernel.org/~tj/misc/slabh-sweep.py
      
      The script does the followings.
      
      * Scan files for gfp and slab usages and update includes such that
        only the necessary includes are there.  ie. if only gfp is used,
        gfp.h, if slab is used, slab.h.
      
      * When the script inserts a new include, it looks at the include
        blocks and try to put the new include such that its order conforms
        to its surrounding.  It's put in the include block which contains
        core kernel includes, in the same order that the rest are ordered -
        alphabetical, Christmas tree, rev-Xmas-tree or at the end if there
        doesn't seem to be any matching order.
      
      * If the script can't find a place to put a new include (mostly
        because the file doesn't have fitting include block), it prints out
        an error message indicating which .h file needs to be added to the
        file.
      
      The conversion was done in the following steps.
      
      1. The initial automatic conversion of all .c files updated slightly
         over 4000 files, deleting around 700 includes and adding ~480 gfp.h
         and ~3000 slab.h inclusions.  The script emitted errors for ~400
         files.
      
      2. Each error was manually checked.  Some didn't need the inclusion,
         some needed manual addition while adding it to implementation .h or
         embedding .c file was more appropriate for others.  This step added
         inclusions to around 150 files.
      
      3. The script was run again and the output was compared to the edits
         from #2 to make sure no file was left behind.
      
      4. Several build tests were done and a couple of problems were fixed.
         e.g. lib/decompress_*.c used malloc/free() wrappers around slab
         APIs requiring slab.h to be added manually.
      
      5. The script was run on all .h files but without automatically
         editing them as sprinkling gfp.h and slab.h inclusions around .h
         files could easily lead to inclusion dependency hell.  Most gfp.h
         inclusion directives were ignored as stuff from gfp.h was usually
         wildly available and often used in preprocessor macros.  Each
         slab.h inclusion directive was examined and added manually as
         necessary.
      
      6. percpu.h was updated not to include slab.h.
      
      7. Build test were done on the following configurations and failures
         were fixed.  CONFIG_GCOV_KERNEL was turned off for all tests (as my
         distributed build env didn't work with gcov compiles) and a few
         more options had to be turned off depending on archs to make things
         build (like ipr on powerpc/64 which failed due to missing writeq).
      
         * x86 and x86_64 UP and SMP allmodconfig and a custom test config.
         * powerpc and powerpc64 SMP allmodconfig
         * sparc and sparc64 SMP allmodconfig
         * ia64 SMP allmodconfig
         * s390 SMP allmodconfig
         * alpha SMP allmodconfig
         * um on x86_64 SMP allmodconfig
      
      8. percpu.h modifications were reverted so that it could be applied as
         a separate patch and serve as bisection point.
      
      Given the fact that I had only a couple of failures from tests on step
      6, I'm fairly confident about the coverage of this conversion patch.
      If there is a breakage, it's likely to be something in one of the arch
      headers which should be easily discoverable easily on most builds of
      the specific arch.
      Signed-off-by: NTejun Heo <tj@kernel.org>
      Guess-its-ok-by: NChristoph Lameter <cl@linux-foundation.org>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: Lee Schermerhorn <Lee.Schermerhorn@hp.com>
      5a0e3ad6
  8. 15 3月, 2010 2 次提交
  9. 11 12月, 2009 1 次提交
  10. 28 5月, 2009 1 次提交
    • B
      PNPACPI: parse Extended Address Space Descriptors · 8cb24c8f
      Bjorn Helgaas 提交于
      Extended Address Space Descriptors are new in ACPI 3.0 and allow the
      BIOS to communicate device resource cacheability attributes (write-back,
      write-through, uncacheable, etc) to the OS.
      
      Previously, PNPACPI ignored these descriptors, so if a BIOS used them,
      a device could be responding at addresses the OS doesn't know about.
      This patch adds support for these descriptors in _CRS and _PRS.  We
      don't attempt to encode them for _SRS (just like we don't attempt to
      encode the existing 16-, 32-, and 64-bit Address Space Descriptors).
      
      Unfortunately, I don't have a way to test this.
      Signed-off-by: NBjorn Helgaas <bjorn.helgaas@hp.com>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      8cb24c8f
  11. 28 4月, 2009 1 次提交
    • Y
      irq: change ACPI GSI APIs to also take a device argument · a2f809b0
      Yinghai Lu 提交于
      We want to use dev_to_node() later on, to be aware of the 'home node'
      of the GSI in question.
      
      [ Impact: cleanup, prepare the IRQ code to be more NUMA aware ]
      Signed-off-by: NYinghai Lu <yinghai@kernel.org>
      Acked-by: NLen Brown <lenb@kernel.org>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Suresh Siddha <suresh.b.siddha@intel.com>
      Cc: "Eric W. Biederman" <ebiederm@xmission.com>
      Cc: Rusty Russell <rusty@rustcorp.com.au>
      Cc: Len Brown <lenb@kernel.org>
      Cc: Bjorn Helgaas <bjorn.helgaas@hp.com>
      Cc: Tony Luck <tony.luck@intel.com>
      Cc: linux-acpi@vger.kernel.org
      Cc: linux-ia64@vger.kernel.org
      LKML-Reference: <49F65560.20904@kernel.org>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      a2f809b0
  12. 11 10月, 2008 2 次提交
  13. 25 8月, 2008 1 次提交
    • B
      PNPACPI: ignore the producer/consumer bit for extended IRQ descriptors · de82ff78
      Bjorn Helgaas 提交于
      The Extended Interrupt descriptor has a producer/consumer bit, but
      it's not clear what that would mean, and existing BIOSes use the bit
      inconsistently.  This patch makes Linux PNPACPI ignore the bit.
      
      The ACPI spec contains examples of PCI Interrupt Link devices marked
      as ResourceProducers, but many BIOSes mark them as ResourceConsumers.
      
      I also checked with a Windows contact, who said:
      
          Windows uses only "resource consumer" when dealing with
          interrupts.  There's no useful way of looking at a resource
          producer of interrupts.
      
          ... NT-based Windows largely infers the producer/consumer stuff
          from the device type and ignores the bits in the namespace.  This
          was necessary because Windows 98 ignored them and early namespaces
          contained random junk.
      
      The reason I want to change this is because if PNPACPI devices exclude
      ResourceProducer IRQ resources, we can't write PNP drivers for those
      devices.
      
      For example, on machines such as the the HP rx7620, rx7640, rx8620,
      rx8640, and Superdome, HPET interrupts are ResourceProducers.  The
      HPET driver currently has to use acpi_bus_register_driver() and do its
      own _CRS parsing, even though it requires absolutely no ACPI-specific
      functionality.
      
      It would be better if the HPET driver were a PNP driver and took
      advantage of the _CRS parsing built into PNPACPI.
      
      This producer/consumer check was originally added here:
          http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=2b8de5f50e4a302b83ebcd5b0120621336d50bd6
      
      to fix this bug:
          http://bugzilla.kernel.org/show_bug.cgi?id=6292
      
      However, the bug was related only to memory and I/O port resources,
      where the distinction is sensible and important to Linux.  Given that
      the distinction is muddled for IRQ resources, I think it was a mistake
      to add the check there.
      Signed-off-by: NBjorn Helgaas <bjorn.helgaas@hp.com>
      Signed-off-by: NAndi Kleen <ak@linux.intel.com>
      de82ff78
  14. 17 7月, 2008 9 次提交
    • B
      PNPACPI: add support for HP vendor-specific CCSR descriptors · 40ab4f4c
      Bjorn Helgaas 提交于
      The HP CCSR descriptor describes MMIO address space that should appear
      as a MEM resource.  This patch adds support for parsing these descriptors
      in the _CRS data.
      
      The visible effect of this is that these MEM resources will appear
      in /sys/devices/pnp0/.../resources, which means that "lspnp -v" will
      report it, user applications can use this to locate device CSR space,
      and kernel drivers can use the normal PNP resource accessors to
      locate them.
      Signed-off-by: NBjorn Helgaas <bjorn.helgaas@hp.com>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      Signed-off-by: NAndi Kleen <ak@linux.intel.com>
      40ab4f4c
    • B
      PNP: convert resource options to single linked list · 1f32ca31
      Bjorn Helgaas 提交于
      ISAPNP, PNPBIOS, and ACPI describe the "possible resource settings" of
      a device, i.e., the possibilities an OS bus driver has when it assigns
      I/O port, MMIO, and other resources to the device.
      
      PNP used to maintain this "possible resource setting" information in
      one independent option structure and a list of dependent option
      structures for each device.  Each of these option structures had lists
      of I/O, memory, IRQ, and DMA resources, for example:
      
        dev
          independent options
            ind-io0  -> ind-io1  ...
            ind-mem0 -> ind-mem1 ...
            ...
          dependent option set 0
            dep0-io0  -> dep0-io1  ...
            dep0-mem0 -> dep0-mem1 ...
            ...
          dependent option set 1
            dep1-io0  -> dep1-io1  ...
            dep1-mem0 -> dep1-mem1 ...
            ...
          ...
      
      This data structure was designed for ISAPNP, where the OS configures
      device resource settings by writing directly to configuration
      registers.  The OS can write the registers in arbitrary order much
      like it writes PCI BARs.
      
      However, for PNPBIOS and ACPI devices, the OS uses firmware interfaces
      that perform device configuration, and it is important to pass the
      desired settings to those interfaces in the correct order.  The OS
      learns the correct order by using firmware interfaces that return the
      "current resource settings" and "possible resource settings," but the
      option structures above doesn't store the ordering information.
      
      This patch replaces the independent and dependent lists with a single
      list of options.  For example, a device might have possible resource
      settings like this:
      
        dev
          options
            ind-io0 -> dep0-io0 -> dep1->io0 -> ind-io1 ...
      
      All the possible settings are in the same list, in the order they
      come from the firmware "possible resource settings" list.  Each entry
      is tagged with an independent/dependent flag.  Dependent entries also
      have a "set number" and an optional priority value.  All dependent
      entries must be assigned from the same set.  For example, the OS can
      use all the entries from dependent set 0, or all the entries from
      dependent set 1, but it cannot mix entries from set 0 with entries
      from set 1.
      
      Prior to this patch PNP didn't keep track of the order of this list,
      and it assigned all independent options first, then all dependent
      ones.  Using the example above, that resulted in a "desired
      configuration" list like this:
      
        ind->io0 -> ind->io1 -> depN-io0 ...
      
      instead of the list the firmware expects, which looks like this:
      
        ind->io0 -> depN-io0 -> ind-io1 ...
      Signed-off-by: NBjorn Helgaas <bjorn.helgaas@hp.com>
      Signed-off-by: NAndi Kleen <ak@linux.intel.com>
      Acked-by: NRene Herman <rene.herman@gmail.com>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      1f32ca31
    • B
      PNP: remove extra 0x100 bit from option priority · e2a1a6f1
      Bjorn Helgaas 提交于
      When building resource options, ISAPNP and PNPBIOS set the priority
      to something like "0x100 | PNP_RES_PRIORITY_ACCEPTABLE", but we
      immediately mask off the 0x100 again in pnp_build_option(), so that
      bit looks superfluous.
      
      Thanks to Rene Herman <rene.herman@gmail.com> for pointing this out.
      Signed-off-by: NBjorn Helgaas <bjorn.helgaas@hp.com>
      Signed-off-by: NAndi Kleen <ak@linux.intel.com>
      Acked-by: NRene Herman <rene.herman@gmail.com>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      e2a1a6f1
    • B
      PNPACPI: ignore _PRS interrupt numbers larger than PNP_IRQ_NR · fe2cf598
      Bjorn Helgaas 提交于
      ACPI Extended Interrupt Descriptors can encode 32-bit interrupt
      numbers, so an interrupt number may exceed the size of the bitmap
      we use to track possible IRQ settings.
      
      To avoid corrupting memory, complain and ignore too-large interrupt
      numbers.
      
      There's similar code in pnpacpi_parse_irq_option(), but I didn't
      change that because the small IRQ descriptor can only encode
      IRQs 0-15, which do not exceed bitmap size.
      
      In the future, we could handle IRQ numbers greater than PNP_IRQ_NR
      by replacing the bitmap with a table or list.
      Signed-off-by: NBjorn Helgaas <bjorn.helgaas@hp.com>
      Signed-off-by: NAndi Kleen <ak@linux.intel.com>
      Acked-by: NRene Herman <rene.herman@gmail.com>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      fe2cf598
    • B
      PNP: centralize resource option allocations · c227536b
      Bjorn Helgaas 提交于
      This patch moves all the option allocations (pnp_mem, pnp_port, etc)
      into the pnp_register_{mem,port,irq,dma}_resource() functions.  This
      will make it easier to rework the option data structures.
      
      The non-trivial part of this patch is the IRQ handling.  The backends
      have to allocate a local pnp_irq_mask_t bitmap, populate it, and pass
      a pointer to pnp_register_irq_resource().
      Signed-off-by: NBjorn Helgaas <bjorn.helgaas@hp.com>
      Signed-off-by: NAndi Kleen <ak@linux.intel.com>
      Acked-by: NRene Herman <rene.herman@gmail.com>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      c227536b
    • B
      PNP: introduce pnp_irq_mask_t typedef · 7aefff51
      Bjorn Helgaas 提交于
      This adds a typedef for the IRQ bitmap, which should cause
      no functional change, but will make it easier to pass a
      pointer to a bitmap to pnp_register_irq_resource().
      Signed-off-by: NBjorn Helgaas <bjorn.helgaas@hp.com>
      Signed-off-by: NAndi Kleen <ak@linux.intel.com>
      Acked-by: NRene Herman <rene.herman@gmail.com>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      7aefff51
    • B
      PNP: define PNP-specific IORESOURCE_IO_* flags alongside IRQ, DMA, MEM · 08c9f262
      Bjorn Helgaas 提交于
      PNP previously defined PNP_PORT_FLAG_16BITADDR and PNP_PORT_FLAG_FIXED
      in a private header file, but put those flags in struct resource.flags
      fields.  Better to make them IORESOURCE_IO_* flags like the existing
      IRQ, DMA, and MEM flags.
      Signed-off-by: NBjorn Helgaas <bjorn.helgaas@hp.com>
      Signed-off-by: NAndi Kleen <ak@linux.intel.com>
      Acked-by: NRene Herman <rene.herman@gmail.com>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      08c9f262
    • B
      PNPACPI: keep disabled resources when parsing current config · 5acf9141
      Bjorn Helgaas 提交于
      When we parse a device's _CRS data (the current resource settings),
      we should keep track of everything we find, even if it's currently
      disabled or invalid.
      
      This is what we already do for ISAPNP and PNPBIOS, and it helps
      keep things matched up when we subsequently re-encode resources.
      For example, consider a device with (mem, irq0, irq1, io), where
      irq0 is disabled.  If we drop irq0 when parsing the _CRS, we will
      mistakenly put irq1 in the irq0 slot when we encode resources
      for an _SRS call.
      Signed-off-by: NBjorn Helgaas <bjorn.helgaas@hp.com>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      Signed-off-by: NAndi Kleen <ak@linux.intel.com>
      5acf9141
    • B
      PNP: replace pnp_resource_table with dynamically allocated resources · aee3ad81
      Bjorn Helgaas 提交于
      PNP used to have a fixed-size pnp_resource_table for tracking the
      resources used by a device.  This table often overflowed, so we've
      had to increase the table size, which wastes memory because most
      devices have very few resources.
      
      This patch replaces the table with a linked list of resources where
      the entries are allocated on demand.
      
      This removes messages like these:
      
          pnpacpi: exceeded the max number of IO resources
          00:01: too many I/O port resources
      
      References:
      
          http://bugzilla.kernel.org/show_bug.cgi?id=9535
          http://bugzilla.kernel.org/show_bug.cgi?id=9740
          http://lkml.org/lkml/2007/11/30/110
      
      This patch also changes the way PNP uses the IORESOURCE_UNSET,
      IORESOURCE_AUTO, and IORESOURCE_DISABLED flags.
      
      Prior to this patch, the pnp_resource_table entries used the flags
      like this:
      
          IORESOURCE_UNSET
      	This table entry is unused and available for use.  When this flag
      	is set, we shouldn't look at anything else in the resource structure.
      	This flag is set when a resource table entry is initialized.
      
          IORESOURCE_AUTO
      	This resource was assigned automatically by pnp_assign_{io,mem,etc}().
      
      	This flag is set when a resource table entry is initialized and
      	cleared whenever we discover a resource setting by reading an ISAPNP
      	config register, parsing a PNPBIOS resource data stream, parsing an
      	ACPI _CRS list, or interpreting a sysfs "set" command.
      
      	Resources marked IORESOURCE_AUTO are reinitialized and marked as
      	IORESOURCE_UNSET by pnp_clean_resource_table() in these cases:
      
      	    - before we attempt to assign resources automatically,
      	    - if we fail to assign resources automatically,
      	    - after disabling a device
      
          IORESOURCE_DISABLED
      	Set by pnp_assign_{io,mem,etc}() when automatic assignment fails.
      	Also set by PNPBIOS and PNPACPI for:
      
      	    - invalid IRQs or GSI registration failures
      	    - invalid DMA channels
      	    - I/O ports above 0x10000
      	    - mem ranges with negative length
      
      After this patch, there is no pnp_resource_table, and the resource list
      entries use the flags like this:
      
          IORESOURCE_UNSET
      	This flag is no longer used in PNP.  Instead of keeping
      	IORESOURCE_UNSET entries in the resource list, we remove
      	entries from the list and free them.
      
          IORESOURCE_AUTO
      	No change in meaning: it still means the resource was assigned
      	automatically by pnp_assign_{port,mem,etc}(), but these functions
      	now set the bit explicitly.
      
      	We still "clean" a device's resource list in the same places,
      	but rather than reinitializing IORESOURCE_AUTO entries, we
      	just remove them from the list.
      
      	Note that IORESOURCE_AUTO entries are always at the end of the
      	list, so removing them doesn't reorder other list entries.
      	This is because non-IORESOURCE_AUTO entries are added by the
      	ISAPNP, PNPBIOS, or PNPACPI "get resources" methods and by the
      	sysfs "set" command.  In each of these cases, we completely free
      	the resource list first.
      
          IORESOURCE_DISABLED
      	In addition to the cases where we used to set this flag, ISAPNP now
      	adds an IORESOURCE_DISABLED resource when it reads a configuration
      	register with a "disabled" value.
      Signed-off-by: NBjorn Helgaas <bjorn.helgaas@hp.com>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      Signed-off-by: NAndi Kleen <ak@linux.intel.com>
      aee3ad81
  15. 12 6月, 2008 3 次提交
  16. 29 4月, 2008 13 次提交