This is the first part of a v3 Super I/O refactoring.
Add a small collection of PNP enter/exit functions for many Super I/Os. Use these functions instead of duplicating them for each chip. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Myles Watson <mylesgw@gmail.com> git-svn-id: svn://coreboot.org/repository/coreboot-v3@1044 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
parent
47398cfab7
commit
09f70836fd
7 changed files with 194 additions and 113 deletions
|
|
@ -84,4 +84,20 @@ void pnp_enable_devices(struct device *dev, struct device_operations *ops,
|
|||
#define PNP_IDX_DRQ0 0x74
|
||||
#define PNP_IDX_DRQ1 0x75
|
||||
|
||||
/* PNP functions used to enter/exit PNP config mode */
|
||||
void pnp_enter_ite_it8661f(struct device *dev);
|
||||
void pnp_enter_ite_it8671f(struct device *dev);
|
||||
void pnp_enter_ite(struct device *dev);
|
||||
void pnp_enter_ite_it8761e(struct device *dev);
|
||||
void pnp_enter_ite_it8228e(struct device *dev);
|
||||
void pnp_enter_8787(struct device *dev);
|
||||
void pnp_enter_ali(struct device *dev);
|
||||
void pnp_enter_smsc(struct device *dev);
|
||||
void pnp_enter_88(struct device *dev);
|
||||
void pnp_enter_89(struct device *dev);
|
||||
void pnp_enter_8686(struct device *dev);
|
||||
void pnp_exit_aa(struct device *dev);
|
||||
void pnp_exit_ite(struct device *dev);
|
||||
void pnp_exit_ali(struct device *dev);
|
||||
|
||||
#endif /* DEVICE_PNP_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue