diff options
author | ian <ian@FreeBSD.org> | 2013-11-15 23:45:13 +0000 |
---|---|---|
committer | ian <ian@FreeBSD.org> | 2013-11-15 23:45:13 +0000 |
commit | 97c1344519cc2c161a24aa04d9a22746086f8957 (patch) | |
tree | b9661ee952bdf847053c4271218ec359c845a386 | |
parent | 3d4d08a4a0500ab5dc60240d481f7559d7635a89 (diff) | |
download | FreeBSD-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.h | 2 |
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 { |