lkml.org 
[lkml]   [2004]   [Apr]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] prevent module unloading for legacy IDE chipset drivers
Date
On Monday 26 of April 2004 17:23, Erik Mouw wrote:
> On Mon, Apr 26, 2004 at 04:50:40PM +0200, Bartlomiej Zolnierkiewicz wrote:
> > BTW I think there is a common misunderstanding about libata:
> > it will not replace IDE drivers any time soon.
> >
> > I want to rewrite+merge current IDE code with libata during 2.7
> > (and yes, legacy naming and ordering will be preserved!).
> >
> > I hope nobody starts rewriting existing IDE drivers for libata and
> > pushing them upstream -> it will mean maintenance problems much bigger
> > than OSS+ALSA.
>
> I don't think it's bad to have two drivers for the same hardware. We've
> seen that with the USB UHCI host controller, RTL 8139, Intel e100,

USB and networks drivers are _actively_ developed by _many_ people
(in comparison to IDE).

> Adaptec aic7xxx, NCR/Symbios sym53c8x. Having two drivers makes it easy
> for people to switch. The difference with OSS+ALSA is that the drivers

It is much easier to pull out network driver from kernel than IDE driver
and some people just won't switch until old driver works.

Just think how much effort it took to make people use ide_cd not ide_scsi
for CD writing and it's nothing compared to make them switch from
(ordered) /dev/hdX to (random) /dev/sdX.

Please remember about device ordering issues and hardcoded 'root=/'.

Not to even mention problems like that SCSI emulation won't some support
some devices supported by ide_floppy and ide_cd etc.

> I just mentioned have been "developed" in the tree, while ALSA was
> developed outside the tree.

No, the biggest difference is that subsystem core was also changed in ALSA.
-> OSS emulation in ALSA etc.

> > However writing _new_ libata driver for 'exotic' PATA hardware is OK.
>
> Is AMD 760/762 (amd74xx driver) considered "exotic"? ;-)

NO! 8)

The main problem is that even with well tested amd74xx driver for libata
it won't be possible to remove old amd74xx driver so we'll have to maintain
both for really long time and it won't be funny et all.

Bartlomiej

-
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/

\
 
 \ /
  Last update: 2005-03-22 14:02    [W:0.979 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site