pnp: Allow setting of misc register 0xf4 in device tree
BUG=chrome-os-partner:24066 TEST=boot tested on Panther BRANCH=none Change-Id: I602f970e0ee2fd634a74fd4c25358c2e78ca58f9 Signed-off-by: Stefan Reinauer <reinauer@google.com> Reviewed-on: https://chromium-review.googlesource.com/179536 Commit-Queue: Stefan Reinauer <reinauer@chromium.org> Tested-by: Stefan Reinauer <reinauer@chromium.org> Reviewed-by: Shawn Nematbakhsh <shawnn@chromium.org>
This commit is contained in:
parent
da2922bf29
commit
02b0583e63
4 changed files with 10 additions and 2 deletions
|
|
@ -45,7 +45,8 @@ struct pnp_info {
|
|||
#define PNP_EN 0x100
|
||||
#define PNP_MSC0 0x200
|
||||
#define PNP_MSC1 0x400
|
||||
#define PNP_MSC10 0x800
|
||||
#define PNP_MSC4 0x800
|
||||
#define PNP_MSC10 0x1000
|
||||
struct io_info io0, io1, io2, io3;
|
||||
};
|
||||
struct resource *pnp_get_resource(device_t dev, unsigned index);
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@
|
|||
#define PNP_IDX_DRQ1 0x75
|
||||
#define PNP_IDX_MSC0 0xf0
|
||||
#define PNP_IDX_MSC1 0xf1
|
||||
#define PNP_IDX_MSC4 0xf4
|
||||
#define PNP_IDX_MSC10 0xfa
|
||||
|
||||
#endif /* DEVICE_PNP_DEF_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue