mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jon E <je_nfd@hotmail.com>
To: <alan@lxorguk.ukuu.org.uk>
Cc: <linux-kernel@vger.kernel.org>
Subject: RE: Problems with Recent Patches to IDE Driver
Date: Mon, 16 Aug 2010 10:50:19 -0400	[thread overview]
Message-ID: <SNT135-w61C068A052AF30526B227CF39B0@phx.gbl> (raw)
In-Reply-To: <20100815212852.7c0e10ea@lxorguk.ukuu.org.uk>


----------------------------------------
> Date: Sun, 15 Aug 2010 21:28:52 +0100
> From: alan@lxorguk.ukuu.org.uk
> To: je_nfd@hotmail.com
> CC: linux-kernel@vger.kernel.org
> Subject: Re: Problems with Recent Patches to IDE Driver
>
> > I've googled for some answers but it seems there are no suggested workarounds for these problems. Perhaps someone reading this can offer some suggestions?
>
> Perhaps you could start by posting your patches ?
>
> Most distributions have pretty much dropped the old IDE driver for
> libata, which is actually better at supporting oddities so its probably
> best to go that way.

Could you elaborate a bit please?  Are you suggesting that the old driver was better at "supporting oddities" or that the new driver model is (better)?
 
I cannot post our code (not only because it's proprietary but it's also spread out amongst several files) but the snips I included in the original note illustrate the points of use.
 
The board is  an addon board with an ide interface, a RF-in port and an optional smartcard interface.  It starts out initializing itself as a network device (using the RF inteface) and then attempts to pick up the ide device information so it can continue the init process (set up ports, etc).
 
There's one thing I'm confused on, if I need to begin porting this to the new model.  Well, there's actually several things that confuse me, but I'll start with the basics.  Which base do I start with?  Looks to me (by reviewing the various *init routines in linux/drivers/ide, that I can choose: ide_pci, pci, platform, ioc4, ecard.  I think I can safely exclude ecard and ioc4, but that still leaves three from which to choose and I'm not how to determine how I need to proceed.
 
Jon 		 	   		  

  reply	other threads:[~2010-08-16 14:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-13 14:41 Jon E
2010-08-15 20:28 ` Alan Cox
2010-08-16 14:50   ` Jon E [this message]
2010-08-18 13:50     ` Jon E

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=SNT135-w61C068A052AF30526B227CF39B0@phx.gbl \
    --to=je_nfd@hotmail.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®