mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Robert Hancock <hancockrwd@gmail.com>
Cc: David Miller <davem@davemloft.net>,
	linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org
Subject: Re: [PATCH] ide: update Kconfig text to mark as deprecated
Date: Fri, 30 Oct 2009 00:32:32 +0000	[thread overview]
Message-ID: <20091030003232.6db3f8b8@lxorguk.ukuu.org.uk> (raw)
In-Reply-To: <51f3faa70910291719kecb5edcp3b8812981b69acb1@mail.gmail.com>

> > 1) Add a way for the ATA layer to create compat device
> >   nodes so that people can change over to use the ATA
> >   layer for their devices without any fstab et al. changes.
> >
> >   These compat device nodes do not have to be so featureful
> >   that they support hdparm or smartd or anything like that,
> >   but they need to work well enough to mount filesystems, and
> >   mount swap partitions, and interact with device management
> >   systems like udev as if they were real IDE devices.
> 
> I'm not really sure if this is worthwhile.. is having to update fstab
> really so onerous as to be worth the trouble? You'd presumably have to
> enable the creation of the compat device nodes somehow (enabling them
> by default seems like it would cause a lot of confusion), so it's not
> like you wouldn't need any config changes that way, either.

Not worth the pain or the code complexity. Almost no system today hard
codes the identifiers. For those that do you can use a udev rule to make
symlinks.

> > 2) The two or so remaining devices which have IDE support but
> >   don't have an ATA layer driver need porting.
> 
> Has anyone gone through and made a list of these? pmac seems like the
> most obvious one..

Pmac is probably the only one that matters. It basically needs an
alternate set of DMA sg drivers for the MAC DMA, the rest is very
"normal". The other is SGIIOC4 which I doubt anyone cares about.

There are a few other things that I think could do with addressing
particularly better IRQ unmasking for both polled PIO (embedded devices)
and interrupt driven PIO on relatively sane hardware would be helpful
particularly in the embedded world.

IDE will self correct in time anyway - new hardware doesn't work with it,
newer embedded devices are also moving away from compact flash, so it'll
die of its own accord.

As such while things like pmac support in libata will be nice I don't
think there is any need to go around obsoleting it or pressuring people
to move stacks.

Alan

  parent reply	other threads:[~2009-10-30  0:31 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-27  1:41 Robert Hancock
2009-10-29 10:13 ` David Miller
2009-10-30  0:19   ` Robert Hancock
2009-10-30  0:30     ` David Miller
2009-10-30  0:33       ` Alan Cox
2009-10-30  0:39         ` David Miller
2009-10-30  8:15       ` Martin Steigerwald
2009-10-30  8:18         ` Martin Steigerwald
2009-10-30  8:39           ` David Miller
2009-10-30  8:38         ` David Miller
2009-10-30  0:32     ` Alan Cox [this message]
2009-10-30  1:47       ` Jeff Garzik

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=20091030003232.6db3f8b8@lxorguk.ukuu.org.uk \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=davem@davemloft.net \
    --cc=hancockrwd@gmail.com \
    --cc=linux-ide@vger.kernel.org \
    --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®