Re: [PATCH 2/6] ide: move SFF I/O code to ide-io-sff.c

From: Alan Cox
Date: Mon Jan 19 2009 - 13:55:15 EST


> Tried looking at how in*()/out*() are defined on x86?

Tried looking at how ide_mm_inb is defined on x86

> > It's already making function calls, without the benefit of inlining and
>
> I'm afraid you're wrong here.

I'm afraid you are the one who is wrong. The IDE layer is duplicating a
generic level of indirection with its own code - purely because IDE
pre-dates that core functionality. The whole IDE layer indirection can go
away because Linux has caught up with the needs of the IDE layer.

Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/