lkml.org 
[lkml]   [2009]   [Feb]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [RFC v2] virtio: add virtio-over-PCI driver
    On Thu, Feb 26, 2009 at 05:53:56PM +0100, Geert Uytterhoeven wrote:
    > On Thu, 26 Feb 2009, Arnd Bergmann wrote:
    > > On Tuesday 24 February 2009, Ira Snyder wrote:
    > > > +/* Virtio-over-PCI descriptors: 12 bytes. These can chain together via "next" */
    > > > +struct vop_desc {
    > > > + /* Address (host physical) */
    > > > + __le32 addr;
    > ^^^^
    > Only 32-bit? Is this future-proof?
    >

    Probably not. If I use __le64 instead, how do I write 64 bytes over the
    PCI bus? There isn't an iowrite64()/ioread64() anywhere in Linux.

    Thanks,
    Ira


    \
     
     \ /
      Last update: 2009-02-26 21:29    [W:0.020 / U:0.492 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site