lkml.org 
[lkml]   [2001]   [Aug]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: With Daniel Phillips Patch
Date
From
>   From: "Justin T. Gibbs" <gibbs@scsiguy.com>
> Date: Wed, 22 Aug 2001 18:55:21 -0600
>
> Then it is poorly named. How about "pci_dma32_t". Or better yet,
> uint32_t. How do the guys writing SBUS drivers like the fact that
> all of this mapping stuff is so PCI centric?
>
>Please actually take a look at a few SBUS drivers before
>you open your big mouth. SBUS drivers use a totally different
>API.

Perhaps its different for SBUS, but its not different for ISA
or EISA. The main point here is that if a single driver has
multiple bus attachements they either "luck out" and can use a
"pci api" to talk to their non-pci devices (the aic7xxx driver talks
EISA/VL/PCI) or they have to have different mapping paths (SBUS/PCI driver).
Do you believe that it is architecturally correct to have a single
api or multiple apis? From your "big mouth" comment above, I assume
the later. From the driver's standpoint, the task is pretty much the
same, with perhaps different contraints on the types of address that
can be supported by the device. The "pci" api already allows you
to express this.

--
Justin
-
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 12:58    [W:0.088 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site