login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
June
»
25
Re: [PATCH] pcmcia: CompactFlash driver for PA Semi Electra boards
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Olof Johansson
Subject:
Re: [PATCH] pcmcia: CompactFlash driver for PA Semi Electra boards
Date: Monday, June 25, 2007 - 8:50 am
On Mon, Jun 25, 2007 at 06:56:36AM +0100, Christoph Hellwig wrote:
quoted text
> > +static int bus_notify(struct notifier_block *nb, unsigned long action, > > + void *data) > > +{ > > + struct device *dev = data; > > + > > + printk("bus notify called\n"); > > + > > + /* We are only intereted in device addition */ > > + if (action != BUS_NOTIFY_ADD_DEVICE) > > + return 0; > > + > > + /* We use the direct ops for localbus */ > > + dev->archdata.dma_ops = &dma_direct_ops; > > + > > + return 0; > > +} > > Sorry for not coming back to you after the last posting of the patch, > but I still really this bit of the code. We don't set dma ops from > a driver anywhere else in the tree, so I'd really prefer if you could > handle this in architecture code somewhere. Especially as dma_direct_ops > and the pcmcia_bug_type shouldn't really be something exported to users. > > Also this code is unlogic if not buggy. Just because you have one > electra bridge it doesn't mean all pcmcia is driven by it. In fact I'm > pretty sure there are cardbus/pcmcia bridges that can be plugged into > plain pci slots.
Yeah, all good points. Also, I obviously missed to take out the debug printk. I'll post an updated patch separately. Thanks! -Olof -
unsubscribe notice
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/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH] pcmcia: CompactFlash driver for PA Semi Electra boards
, Olof Johansson
, (Sun Jun 24, 6:03 pm)
Re: [PATCH] pcmcia: CompactFlash driver for PA Semi Electr ...
, Christoph Hellwig
, (Sun Jun 24, 10:56 pm)
Re: [PATCH] pcmcia: CompactFlash driver for PA Semi Electr ...
, Olof Johansson
, (Mon Jun 25, 8:50 am)
[PATCH v2] pcmcia: CompactFlash driver for PA Semi Electra ...
, Olof Johansson
, (Mon Jun 25, 10:12 am)
Re: [PATCH v2] pcmcia: CompactFlash driver for PA Semi Ele ...
, Christoph Hellwig
, (Mon Jun 25, 12:39 pm)
Re: [PATCH v2] pcmcia: CompactFlash driver for PA Semi Ele ...
, Olof Johansson
, (Mon Jun 25, 1:43 pm)
[PATCH v3] pcmcia: CompactFlash driver for PA Semi Electra ...
, Olof Johansson
, (Thu Jul 5, 7:49 am)
Re: [PATCH v3] pcmcia: CompactFlash driver for PA Semi Ele ...
, Andrew Morton
, (Fri Jul 20, 4:48 pm)
Re: [PATCH v3] pcmcia: CompactFlash driver for PA Semi Ele ...
, Olof Johansson
, (Sat Jul 21, 1:18 pm)
[PATCH -mm] pcmcia: Updates to electra_cf driver
, Olof Johansson
, (Thu Aug 30, 7:43 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Rafael J. Wysocki
[Bug #11559] 2.6.27-rc6: nohz + s2ram = need to press keys to get progress
Grant Grundler
Re: [patch] e1000=y && e1000e=m regression fix (was: Re: [regression] e100...
Christoph Lameter
Re: [bug] SLUB + mm/slab.c boot crash in -rc9
Jeremy Fitzhardinge
Re: [2.6.25] compat VDSO option not disabling
Jörn
Re: [00/41] Large Blocksize Support V7 (adds memmap support)
git
:
Pat Thoyts
[PATCH] git-gui: use themed tk widgets with Tk 8.5
Stephan Beyer
Re: git sequencer prototype
Frans Pop
'git gc --aggressive' effectively unusable
Lynn Lin
Re: clearcase migration to git
Johannes Schindelin
Re: [PATCH 2/3] unpack-trees: fix path search bug in verify_absent
linux-netdev
:
William Allen Simpson
[net-next-2.6 PATCH v8 0/7] TCPCT part 1: cookie option exchange
Eric Dumazet
Re: [PATCH net-next-2.6] net: Introduce skb_orphan_try()
David Miller
Re: [PATCH 2/2] macb: process the RX ring regardless of interrupt status
David Woodhouse
Re: [bug?] tg3: Failed to load firmware "tigon/tg3_tso.bin"
Eric Dumazet
Re: [PATCH net-next-2.6] net: Introduce skb_orphan_try()
git-commits-head
:
Linux Kernel Mailing List
sparc64: Fix sun4u execute bit check in TSB I-TLB load.
Linux Kernel Mailing List
init: Open /dev/console from rootfs
Linux Kernel Mailing List
x86 boot: only pick up additional EFI memmap if add_efi_memmap flag
Linux Kernel Mailing List
Remove empty comment in acpi/power.c
Linux Kernel Mailing List
udp: fix for unicast RX path optimization
openbsd-misc
:
nixlists
Re: Which laptops do the developers use?
L. V. Lammert
OT, .. but has anyone seen a crontab editor
Nick Holland
Re: Upgrade 4.1->4.2->4.3
Siju George
Re: Blocking Teamviewer
Henning Brauer
Re: pf: reassemble tcp
Colocation donated by:
Syndicate