Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/puc/puc_cfg.h
Show First 20 Lines • Show All 58 Lines • ▼ Show 20 Lines | enum puc_cfg_cmd { | ||||
PUC_CFG_GET_CLOCK, | PUC_CFG_GET_CLOCK, | ||||
PUC_CFG_GET_DESC, | PUC_CFG_GET_DESC, | ||||
PUC_CFG_GET_ILR, | PUC_CFG_GET_ILR, | ||||
PUC_CFG_GET_LEN, | PUC_CFG_GET_LEN, | ||||
PUC_CFG_GET_NPORTS, | PUC_CFG_GET_NPORTS, | ||||
PUC_CFG_GET_OFS, | PUC_CFG_GET_OFS, | ||||
PUC_CFG_GET_RID, | PUC_CFG_GET_RID, | ||||
PUC_CFG_GET_TYPE, | PUC_CFG_GET_TYPE, | ||||
PUC_CFG_SETUP | PUC_CFG_SETUP, | ||||
PUC_CFG_TARGETBAUD | |||||
}; | }; | ||||
struct puc_softc; | struct puc_softc; | ||||
typedef int puc_config_f(struct puc_softc *, enum puc_cfg_cmd, int, intptr_t *); | typedef int puc_config_f(struct puc_softc *, enum puc_cfg_cmd, int, intptr_t *); | ||||
struct puc_cfg { | struct puc_cfg { | ||||
uint16_t vendor; | uint16_t vendor; | ||||
Show All 15 Lines |