From 5c50c1723ce284ddf6d2c9f25ec4307cd6cec043 Mon Sep 17 00:00:00 2001 From: imp Date: Fri, 24 Dec 2004 22:08:57 +0000 Subject: Various style(9) items before of some more extensive work: o return (value); o u_intXX_t -> uintXX_t o break lines o consistantly use 8 space tab stops o minor grammar nits in a few printfs --- sys/isa/pnpvar.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'sys/isa/pnpvar.h') diff --git a/sys/isa/pnpvar.h b/sys/isa/pnpvar.h index 89b8130..291c813 100644 --- a/sys/isa/pnpvar.h +++ b/sys/isa/pnpvar.h @@ -48,17 +48,18 @@ | (PNP_HEXTONUM(s[5]) << 28)) typedef int pnp_scan_cb(device_t dev, u_char tag, u_char *res, int len, - struct isa_config *config, int ldn); + struct isa_config *config, int ldn); -char *pnp_eisaformat(u_int32_t id); -void pnp_printf(u_int32_t id, char *fmt, ...); +char *pnp_eisaformat(uint32_t id); +void pnp_printf(uint32_t id, char *fmt, ...); void pnp_parse_resources(device_t dev, u_char *resources, int len, int ldn); u_char *pnp_parse_dependant(device_t dev, u_char *resources, int len, - struct isa_config *config, int ldn); + struct isa_config *config, int ldn); u_char *pnp_scan_resources(device_t dev, u_char *resources, int len, - struct isa_config *config, int ldn, pnp_scan_cb *cb); + struct isa_config *config, int ldn, pnp_scan_cb *cb); -void pnp_check_quirks(u_int32_t vendor_id, u_int32_t logical_id, int ldn, struct isa_config *config); +void pnp_check_quirks(uint32_t vendor_id, uint32_t logical_id, int ldn, + struct isa_config *config); #endif /* _KERNEL */ -- cgit v1.1