# Re: [parport] Use of inb/out in backends...

From: Tim Waugh (twaugh@redhat.com)
Date: Mon May 28 2001 - 15:24:37 PDT

- Next message: abel deuring: "Re: Microtek, Net, NetBSD"
  - Previous message: Aristide Aragon: "Re: Microtek, Net, NetBSD"
  - In reply to: Jochen Eisinger: "[parport] Use of inb/out in backends..."
  - Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

  On Mon, May 28, 2001 at 11:00:04PM +0200, Jochen Eisinger wrote:

  > Since lots of new parport backends are available now, I wonder
  > whether we should add a general interface to the parport, that would
  > allow to make use of more advanced interfaces like the kernel
  > parport drivers while keeping the whole thing easy to port to other
  > architecures (like older kernels, *BSD or OS/2)

  This worthwhile thing would obviously be useful for more than just
  SANE!

  I think that a step in the right direction would be to have a shared
  library providing the same functionality as /dev/parport, and have
  the library use the native OS support if available, and fall back to
  inb/outb or whatever, failing if not root.

  (For the special case of collection IEEE 1284 Device IDs, there are
  other fallbacks to try first involving /proc, and so this should be a
  part of the interface.)

  Tim.
  */

  - application/pgp-signature attachment: stored

      --
      Source code, list archive, and docs: http://www.mostang.com/sane/
      To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com

  - Next message: abel deuring: "Re: Microtek, Net, NetBSD"
  - Previous message: Aristide Aragon: "Re: Microtek, Net, NetBSD"
  - In reply to: Jochen Eisinger: "[parport] Use of inb/out in backends..."
  - Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

  This archive was generated by hypermail 2b29 : Mon May 28 2001 - 15:19:31 PDT