1. 11 11月, 2005 2 次提交
    • L
      [ARM] 3098/1: pxa2xx disable ssp irq · b216c018
      Liam Girdwood 提交于
      Patch from Liam Girdwood
      
      This patch allows users of the pxa SSP driver to register their own irq
      handlers instead of using the default SSP handler. It also cleans up the
      CKEN clock and irq detection as the values are now stored in a table.
      
      This patch replaces 2845/1
      
      Changes:-
      o Added flags parameter to ssp_init()
      o Added SSP_NO_IRQ flag to disable registering of ssp irq handler (for
      drivers that want to register their own handler)
      o Cleaned up clock and irq detection, values are now stored in table.
      o Added build changes to allow other drivers (e.g audio) to select the
      ssp driver.
      o corgi_ssp.c changed to use new interface.
      Signed-off-by: NLiam Girdwood <liam.girdwood@wolfsonmicro.com>
      Signed-off-by: NRichard Purdie <rpurdie@rpsys.net>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      b216c018
    • R
      [ARM] 3096/1: Add SharpSL Zaurus power and battery management core driver · 078abcf9
      Richard Purdie 提交于
      Patch from Richard Purdie
      
      This patch adds a power and battery management core driver which with
      the addition of the right device files, supports the c7x0 and cxx00
      series of Sharp Zaurus handhelds.
      
      The driver is complex for several reasons. Battery charging is manually
      monitored and controlled. When suspended, the device needs to
      periodically partially resume, check the charging status and then
      re-suspend. It does without bothering the higher linux layers as
      a full resume and re-suspend is unnecessary. The code is carefully
      written to avoid interrupts or calling code outside the module under
      these circumstances. It also vets the various wake up sources and
      monitors the device's power situation.
      
      Hooks to limit the backlight intensity and to notify the battery
      monitoring code of backlight events are connected/added as the
      backlight is one of the biggest users of power on the device.
      Signed-off-by: NRichard Purdie <rpurdie@rpsys.net>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      078abcf9
  2. 10 11月, 2005 33 次提交
    • T
      [ARM] 3144/1: OMAP 5/5: Update omap H2 defconfig · b1faebb6
      Tony Lindgren 提交于
      Patch from Tony Lindgren
      
      This patch updates omap H2 defconfig.
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      b1faebb6
    • T
      [ARM] 3143/1: OMAP 4/5: Update omap include files · 9ad5897c
      Tony Lindgren 提交于
      Patch from Tony Lindgren
      
      This patch syncs the mainline kernel with linux-omap tree.
      
      This patch contains changes to common header files for
      omap1xxx and omap24xx by various omap developers, and
      improved cpu detection by Imre Deak
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      9ad5897c
    • A
      [ARM] 3140/1: NSLU2 machine support · a7918f39
      Alessandro Zummo 提交于
      Patch from Alessandro Zummo
      
      This patch adds support for the LinkSys NSLU2 running with
      both big and little-endian kernels. The LinkSys NSLU2 is
      a cost engineered ARM, XScale 420 based system similar to
      the the Intel IXDP425 evaluation board. It uses the
      IXP4XX ARCH.
      
      While this patch applies independently of other patches
      the resultant kernel requires further patches to successfully
      use onboard devices, including the onboard flash. Since these
      patches are independent of this one they will be submitted
      separately.
      
      A defconfig is not included here because not all of
      the required drivers are actually in the kernel.
      We intend to provide one as soon as the patches
      will be incorporated in mainstream.
      
      This patch is the combined work of nslu2-linux.org
      Signed-off-by: NJohn Bowler <jbowler@acm.org>
      Signed-off-by: NAlessandro Zummo <a.zummo@towertech.it>
      Signed-off-by: NDeepak Saxena <dsaxena@plexity.net>
      Signed-off-by: NLennert Buytenhek <buytenh@wantstofly.org>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      a7918f39
    • P
      ppc64: Add declarations to ppc64 headers as well as powerpc headers · 97671e4b
      Paul Mackerras 提交于
      For now, we need these declarations that we moved from C code in
      the asm-ppc64 versions of these headers as well as the asm-powerpc
      versions.  The asm-ppc64 versions will be disappearing shortly.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      97671e4b
    • L
      [PATCH] ppc64: mark failed devices · d9564ad1
      Linas Vepstas 提交于
      17-eeh-slot-marking-bug.patch
      
      A device that experiences a PCI outage may be just one deivce out
      of many that was affected. In order to avoid repeated reports of
      a failure, the entire tree of affected devices should be marked
      as failed. This patch marks up the entire tree.
      Signed-off-by: NLinas Vepstas <linas@linas.org>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      d9564ad1
    • P
      powerpc: Move some extern declarations from C code into headers · 49b09853
      Paul Mackerras 提交于
      This also make klimit have the same type on 32-bit as on 64-bit,
      namely unsigned long, and defines and initializes it in one place.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      49b09853
    • S
      powerpc: implement atomic64_t on ppc64 · 06a98dba
      Stephen Rothwell 提交于
      Signed-off-by: NStephen Rothwell <sfr@canb.auug.org.au>
      06a98dba
    • D
      [PATCH] powerpc: Move more ppc64 files with no ppc32 equivalent to powerpc · d3d2176a
      David Gibson 提交于
      This patch moves a bunch more files from arch/ppc64 and
      include/asm-ppc64 which have no equivalents in ppc32 code into
      arch/powerpc and include/asm-powerpc.  The file affected are:
      	hvcall.h
      	proc_ppc64.c
      	sysfs.c
      	lparcfg.c
      	rtas_pci.c
      
      The only changes apart from the move and corresponding Makefile
      changes are:
      	- #ifndef/#define in includes updated to _ASM_POWERPC_ form
      	- trailing whitespace removed
      	- comments giving full paths removed
      
      Built and booted on POWER5 LPAR (ARCH=powerpc and ARCH=ppc64), built
      for 32-bit powermac (ARCH=powerpc).
      Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      d3d2176a
    • B
      [PATCH] powerpc: 64k pages pmd alloc fix · 87655ff2
      Benjamin Herrenschmidt 提交于
      This patch makes the kernel use a different kmem cache for PMD pages
      as they are smaller than PTE pages. Avoids waste of memory.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      87655ff2
    • P
      powerpc: Add user CPU features for POWER4, POWER5, POWER5+ and Cell. · a7ddc5e8
      Paul Mackerras 提交于
      This is at the request of the glibc folks, who want to use these bits
      to select libraries optimized for the microarchitecture and new
      instructions in these processors.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      a7ddc5e8
    • P
      3db9aaaf
    • P
      [PATCH] powerpc: merge code values for identifying platforms · 799d6046
      Paul Mackerras 提交于
      This patch merges platform codes.  systemcfg->platform is no longer used,
      systemcfg use in general is deprecated as much as possible (and renamed
      _systemcfg before it gets completely moved elsewhere in a future patch),
      _machine is now used on ppc64 along as ppc32.  Platform codes aren't gone
      yet but we are getting a step closer. A bunch of asm code in head[_64].S
      is also turned into C code.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      799d6046
    • D
      [PATCH] powerpc: Consolidate asm compatibility macros · 3ddfbcf1
      David Gibson 提交于
      This patch consolidates macros used to generate assembly for
      compatibility across different CPUs or configs.  A new header,
      asm-powerpc/asm-compat.h contains the main compatibility macros.  It
      uses some preprocessor magic to make the macros suitable both for use
      in .S files, and in inline asm in .c files.  Headers (bitops.h,
      uaccess.h, atomic.h, bug.h) which had their own such compatibility
      macros are changed to use asm-compat.h.
      
      ppc_asm.h is now for use in .S files *only*, and a #error enforces
      that.  As such, we're a lot more careless about namespace pollution
      here than in asm-compat.h.
      
      While we're at it, this patch adds a call to the PPC405_ERR77 macro in
      futex.h which should have had it already, but didn't.
      
      Built and booted on pSeries, Maple and iSeries (ARCH=powerpc).  Built
      for 32-bit powermac (ARCH=powerpc) and Walnut (ARCH=ppc).
      Signed-off-by: NDavid Gibson <dwg@au1.ibm.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      3ddfbcf1
    • D
      [PATCH] powerpc: Merge cacheflush.h and cache.h · 26ef5c09
      David Gibson 提交于
      The ppc32 and ppc64 versions of cacheflush.h were almost identical.
      The two versions of cache.h are fairly similar, except for a bunch of
      register definitions in the ppc32 version which probably belong better
      elsewhere.  This patch, therefore, merges both headers.  Notable
      points:
      	- there are several functions in cacheflush.h which exist only
      on ppc32 or only on ppc64.  These are handled by #ifdef for now, but
      these should probably be consolidated, along with the actual code
      behind them later.
      	- Confusingly, both ppc32 and ppc64 have a
      flush_dcache_range(), but they're subtly different: it uses dcbf on
      ppc32 and dcbst on ppc64, ppc64 has a flush_inval_dcache_range() which
      uses dcbf.  These too should be merged and consolidated later.
      	- Also flush_dcache_range() was defined in cacheflush.h on
      ppc64, and in cache.h on ppc32.  In the merged version it's in
      cacheflush.h
      	- On ppc32 flush_icache_range() is a normal function from
      misc.S.  On ppc64, it was wrapper, testing a feature bit before
      calling __flush_icache_range() which does the actual flush.  This
      patch takes the ppc64 approach, which amounts to no change on ppc32,
      since CPU_FTR_COHERENT_ICACHE will never be set there, but does mean
      renaming flush_icache_range() to __flush_icache_range() in
      arch/ppc/kernel/misc.S and arch/powerpc/kernel/misc_32.S
      	- The PReP register info from asm-ppc/cache.h has moved to
      arch/ppc/platforms/prep_setup.c
      	- The 8xx register info from asm-ppc/cache.h has moved to a
      new asm-powerpc/reg_8xx.h, included from reg.h
      	- flush_dcache_all() was defined on ppc32 (only), but was
      never called (although it was exported).  Thus this patch removes it
      from cacheflush.h and from ARCH=powerpc (misc_32.S) entirely.  It's
      left in ARCH=ppc for now, with the prototype moved to ppc_ksyms.c.
      
      Built for Walnut (ARCH=ppc), 32-bit multiplatform (pmac, CHRP and PReP
      ARCH=ppc, pmac and CHRP ARCH=powerpc).  Built and booted on POWER5
      LPAR (ARCH=powerpc and ARCH=ppc64).
      
      Built for 32-bit powermac (ARCH=ppc and ARCH=powerpc).  Built and
      booted on POWER5 LPAR (ARCH=powerpc and ARCH=ppc64).  Built and booted
      on G5 (ARCH=powerpc)
      Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      26ef5c09
    • T
      [NETLINK]: Generic netlink family · 482a8524
      Thomas Graf 提交于
      The generic netlink family builds on top of netlink and provides
      simplifies access for the less demanding netlink users. It solves
      the problem of protocol numbers running out by introducing a so
      called controller taking care of id management and name resolving.
      
      Generic netlink modules register themself after filling out their
      id card (struct genl_family), after successful registration the
      modules are able to register callbacks to command numbers by
      filling out a struct genl_ops and calling genl_register_op(). The
      registered callbacks are invoked with attributes parsed making
      life of simple modules a lot easier.
      
      Although generic netlink modules can request static identifiers,
      it is recommended to use GENL_ID_GENERATE and to let the controller
      assign a unique identifier to the module. Userspace applications
      will then ask the controller and lookup the idenfier by the module
      name.
      
      Due to the current multicast implementation of netlink, the number
      of generic netlink modules is restricted to 1024 to avoid wasting
      memory for the per socket multiacst subscription bitmask.
      Signed-off-by: NThomas Graf <tgraf@suug.ch>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      482a8524
    • T
      [NETLINK]: Generic netlink receive queue processor · 82ace47a
      Thomas Graf 提交于
      Introduces netlink_run_queue() to handle the receive queue of
      a netlink socket in a generic way. Processes as much as there
      was in the queue upon entry and invokes a callback function
      for each netlink message found. The callback function may
      refuse a message by returning a negative error code but setting
      the error pointer to 0 in which case netlink_run_queue() will
      return with a qlen != 0.
      Signed-off-by: NThomas Graf <tgraf@suug.ch>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      82ace47a
    • T
      [NETLINK]: Type-safe netlink messages/attributes interface · bfa83a9e
      Thomas Graf 提交于
      Introduces a new type-safe interface for netlink message and
      attributes handling. The interface is fully binary compatible
      with the old interface towards userspace. Besides type safety,
      this interface features attribute validation capabilities,
      simplified message contstruction, and documentation.
      
      The resulting netlink code should be smaller, less error prone
      and easier to understand.
      Signed-off-by: NThomas Graf <tgraf@suug.ch>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      bfa83a9e
    • Y
      [NETFILTER]: Add nf_conntrack subsystem. · 9fb9cbb1
      Yasuyuki Kozakai 提交于
      The existing connection tracking subsystem in netfilter can only
      handle ipv4.  There were basically two choices present to add
      connection tracking support for ipv6.  We could either duplicate all
      of the ipv4 connection tracking code into an ipv6 counterpart, or (the
      choice taken by these patches) we could design a generic layer that
      could handle both ipv4 and ipv6 and thus requiring only one sub-protocol
      (TCP, UDP, etc.) connection tracking helper module to be written.
      
      In fact nf_conntrack is capable of working with any layer 3
      protocol.
      
      The existing ipv4 specific conntrack code could also not deal
      with the pecularities of doing connection tracking on ipv6,
      which is also cured here.  For example, these issues include:
      
      1) ICMPv6 handling, which is used for neighbour discovery in
         ipv6 thus some messages such as these should not participate
         in connection tracking since effectively they are like ARP
         messages
      
      2) fragmentation must be handled differently in ipv6, because
         the simplistic "defrag, connection track and NAT, refrag"
         (which the existing ipv4 connection tracking does) approach simply
         isn't feasible in ipv6
      
      3) ipv6 extension header parsing must occur at the correct spots
         before and after connection tracking decisions, and there were
         no provisions for this in the existing connection tracking
         design
      
      4) ipv6 has no need for stateful NAT
      
      The ipv4 specific conntrack layer is kept around, until all of
      the ipv4 specific conntrack helpers are ported over to nf_conntrack
      and it is feature complete.  Once that occurs, the old conntrack
      stuff will get placed into the feature-removal-schedule and we will
      fully kill it off 6 months later.
      Signed-off-by: NYasuyuki Kozakai <yasuyuki.kozakai@toshiba.co.jp>
      Signed-off-by: NHarald Welte <laforge@netfilter.org>
      Signed-off-by: NArnaldo Carvalho de Melo <acme@mandriva.com>
      9fb9cbb1
    • L
      [PATCH] ppc64: Save & restore of PCI device BARS · 8b553f32
      Linas Vepstas 提交于
      14-eeh-device-bar-save.patch
      
      After a PCI device has been resest, the device BAR's and other config
      space info must be restored to the same state as they were in when
      the firmware first handed us this device.  This will allow the
      PCI device driver, when restarted, to correctly recognize and set up
      the device.
      
      Tis patch saves the device config space as early as reasonable after
      the firmware has handed over the device.  Te state resore funcion
      is inteded for use by the EEH recovery routines.
      Signed-off-by: NLinas Vepstas <linas@austin.ibm.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      8b553f32
    • L
      [PATCH] ppc64: PCI reset support routines · 6dee3fb9
      Linas Vepstas 提交于
      13-eeh-recovery-support-routines.patch
      
      EEH Recovery support routines
      
      This patch adds routines required to help drive the recovery of
      EEH-frozen slots.  The main function is to drive the PCI #RST
      signal line high for a qurter of a second, and then allow for
      a second & a half of settle time.
      Signed-off-by: NLinas Vepstas <linas@austin.ibm.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      6dee3fb9
    • L
      [PATCH] ppc64: PCI error event dispatcher · 172ca926
      Linas Vepstas 提交于
      12-eeh-event-dispatcher.patch
      
      ppc64: EEH Recovery dispatcher thread
      
      This patch adds a mechanism to create recovery threads when an
      EEH event is received.  Since an EEH freeze state may be detected
      within an interrupt context, we need to get out of the interrupt
      context before starting recovery. This dispatcher does this in
      two steps: first, it uses a workqueue to get out, and then
      lanuches a kernel thread, so that the recovery routine can
      sleep for exteded periods without upseting the keventd.
      
      A kernel thread is created with each EEH event, rather than
      having one long-running daemon started at boot time.  This is
      because it is anticipated that EEH events will be very rare
      (very very rare, ideally) and so its pointless to cluter the
      process tables with a daemon that will almost never run.
      Signed-off-by: NLinas Vepstas <linas@austin.ibm.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      172ca926
    • L
      [PATCH] ppc64: bugfix: don't silently ignore PCI errors · f8632c82
      Linas Vepstas 提交于
      10-EEH-enable-bugfix.patch
      
      Bugfix: With the curent linux-2.6.14-rc2-git6, EEH errors are
      ignored because thier detection requires an unused, uninitialized
      flag to be set.  This patch removes the unused flag.
      Signed-off-by: NLinas Vepstas <linas@austin.ibm.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      f8632c82
    • L
      [PATCH] ppc64: PCI address cache minor fixes · 56b0fca3
      Linas Vepstas 提交于
      03-eeh-addr-cache-cleanup.patch
      
      This is a minor patch to clean up a buglet related to the PCI address cache.
      (The buglet doesn't manifes itself unless there are also bugs elsewhere,
      which is why its minor.).  Also:
      
      -- Improved debug printing.
      -- Declare some private routines as static
      -- Adds reference counting to struct pci_dn->pcidev structure
      Signed-off-by: NLinas Vepstas <linas@linas.org>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      56b0fca3
    • L
      [PATCH] ppc64: uniform usage of bus unit id interfaces · ae65a391
      linas 提交于
      01-pci-dn-uniformization.patch
      
      This patch changes the rtas_pci interface to use the new struct pci_dn
      structure for two routines that work with pci device nodes.
      
      This patch also does some minor janitorial work: it uses some handy macros
      and cleans up some trailing whitespace in the affected file.
      Signed-off-by: NLinas Vepstas <linas@austin.ibm.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      ae65a391
    • D
      [PATCH] powerpc: Move various ppc64 files with no ppc32 equivalent to powerpc · 8882a4da
      David Gibson 提交于
      This patch moves a bunch of files from arch/ppc64 and
      include/asm-ppc64 which have no equivalents in ppc32 code into
      arch/powerpc and include/asm-powerpc.  The file affected are:
      	abs_addr.h
      	compat.h
      	lppaca.h
      	paca.h
      	tce.h
      	cpu_setup_power4.S
      	ioctl32.c
      	firmware.c
      	pacaData.c
      
      The only changes apart from the move and corresponding Makefile
      changes are:
      	- #ifndef/#define in includes updated to _ASM_POWERPC_ form
      	- trailing whitespace removed
      	- comments giving full paths removed
      	- pacaData.c renamed paca.c to remove studlyCaps
      	- Misplaced { moved in lppaca.h
      
      Built and booted on POWER5 LPAR (ARCH=powerpc and ARCH=ppc64), built
      for 32-bit powermac (ARCH=powerpc).
      Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      8882a4da
    • D
      [PATCH] powerpc: Merge current.h · 584224e4
      David Gibson 提交于
      This patch merges current.h.  This is a one-big-ifdef merge, but both
      versions are so tiny, I think we can live with it.  While we're at it,
      we get rid of the fairly pointless redirection through get_current()
      in the ppc64 version.
      
      Built and booted on POWER5 LPAR (ARCH=powerpc & ARCH=ppc64).  Built
      for 32-bit pmac (ARCH=powerpc & ARCH=ppc).
      Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      584224e4
    • D
      [PATCH] powerpc: Merge signal.h · c5ff7001
      David Gibson 提交于
      Having already merged the ppc and ppc64 versions of signal.c, this
      patch finishes the job by merging signal.h.  The two versions were
      almost identical already.  Notable changes:
      	- We use BITS_PER_LONG to correctly size sigset_t
      	- Remove some uneeded #includes and struct forward
      declarations.  This does mean adding an include to signal_32.c which
      relied on the indirect inclusion of sigcontext.h
      	- As the ppc64 version, the merged signal.h has prototypes for
      do_signal() and do_signal32().  Thus remove extra prototypes from
      ppc_ksyms.c which had them directly.
      
      Built and booted on POWER5 LPAR (ARCH=ppc64 and ARCH=powerpc).  Built
      for 32-bit powermac (ARCH=ppc and ARCH=powerpc) and Walnut (ARCH=ppc).
      Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      c5ff7001
    • A
      [PATCH] ide: explain the PCI bus test we do in <asm-i386/ide.h> · 25000c2c
      Alan Cox 提交于
      Matthew Wilcox asked that this got a comment explaining why it is done
      so here it is.
      Signed-off-by: NAlan Cox <alan@redhat.com>
      Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      25000c2c
    • J
      [PATCH] ide: CS5535 driver · f5b2d8b4
      Jaya Kumar 提交于
      Signed-off-by: NJaya Kumar <jayakumar.ide@gmail.com>
      Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      f5b2d8b4
    • J
      [PATCH] ide: AMD Geode GX/LX support · 7fab773d
      Jordan Crouse 提交于
      From: "Jordan Crouse" <jordan.crouse@amd.com>
      
      The core IDE engine on the CS5536 is the same as the other AMD southbridges,
      so unlike the CS5535, we can simply add the appropriate PCI headers to
      the existing amd74xx code.
      Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      7fab773d
    • B
      [PATCH] ide: move CONFIG_IDE_MAX_HWIFS into linux/ide.h · 83ae20c8
      Bjorn Helgaas 提交于
      CONFIG_IDE_MAX_HWIFS is a generic thing, no need to have it duplicated
      by every arch that uses it.
      Signed-off-by: NBjorn Helgaas <bjorn.helgaas@hp.com>
      Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      83ae20c8
    • H
      [PATCH] ide: incorrect device link for ide-cs · 4349d5cd
      Hannes Reinecke 提交于
      Devices driven by ide-cs will appear under /sys/devices instead of the
      appropriate PCMCIA device. To fix this I had to extend the hw_regs_t
      structure with a 'struct device' field, which allows us to set the
      parent link for the appropriate hwif.
      Signed-off-by: NHannes Reinecke <hare@suse.de>
      Signed-off-by: NJens Axboe <axboe@suse.com>
      Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      4349d5cd
    • H
      [NETFILTER] nfnetlink: nfattr_parse() can never fail, make it void · a2506c04
      Harald Welte 提交于
      nfattr_parse (and thus nfattr_parse_nested) always returns success. So we
      can make them 'void' and remove all the checking at the caller side.
      
      Based on original patch by Pablo Neira Ayuso <pablo@netfilter.org>
      Signed-off-by: NHarald Welte <laforge@netfilter.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      a2506c04
  3. 09 11月, 2005 5 次提交