summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorian <ian@FreeBSD.org>2013-11-15 23:45:13 +0000
committerian <ian@FreeBSD.org>2013-11-15 23:45:13 +0000
commit97c1344519cc2c161a24aa04d9a22746086f8957 (patch)
treeb9661ee952bdf847053c4271218ec359c845a386
parent3d4d08a4a0500ab5dc60240d481f7559d7635a89 (diff)
downloadFreeBSD-src-97c1344519cc2c161a24aa04d9a22746086f8957.zip
FreeBSD-src-97c1344519cc2c161a24aa04d9a22746086f8957.tar.gz
Move the luns field to the end of the struct, for serendipitous packing.
(I was supposed to do this before committing it initially.)
-rw-r--r--sys/dev/nand/nand.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/nand/nand.h b/sys/dev/nand/nand.h
index 4fbe75c..0e9ea41 100644
--- a/sys/dev/nand/nand.h
+++ b/sys/dev/nand/nand.h
@@ -236,7 +236,6 @@ struct onfi_params {
CTASSERT(sizeof(struct onfi_params) == 256);
struct onfi_chip_params {
- uint8_t luns;
uint32_t blocks_per_lun;
uint32_t pages_per_block;
uint32_t bytes_per_page;
@@ -247,6 +246,7 @@ struct onfi_chip_params {
uint16_t t_ccs;
uint16_t features;
uint8_t address_cycles;
+ uint8_t luns;
};
struct nand_ecc_data {
OpenPOWER on IntegriCloud