make resource descriptor structures packed

This commit is contained in:
Markus Fröschle
2013-11-03 14:49:08 +00:00
parent ef44291c38
commit 07f390ed83

View File

@@ -106,7 +106,7 @@ typedef struct /* structure of resource descriptor */
unsigned long length; /* length of resource */ unsigned long length; /* length of resource */
unsigned long offset; /* offset PCI to phys. CPU Address */ unsigned long offset; /* offset PCI to phys. CPU Address */
unsigned long dmaoffset; /* offset for DMA-transfers */ unsigned long dmaoffset; /* offset for DMA-transfers */
} PCI_RSC_DESC; } __attribute__ ((packed)) PCI_RSC_DESC;
typedef struct /* structure of address conversion */ typedef struct /* structure of address conversion */
{ {