summaryrefslogtreecommitdiffstats
path: root/sys/isa/pnpvar.h
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2004-12-24 22:08:57 +0000
committerimp <imp@FreeBSD.org>2004-12-24 22:08:57 +0000
commit5c50c1723ce284ddf6d2c9f25ec4307cd6cec043 (patch)
tree648e74183e7d745836b6ccdda54b6a8ed3e8f85f /sys/isa/pnpvar.h
parent97f535dc1f1d0bcd10eaf5fcdc9fe7c26ce454d2 (diff)
downloadFreeBSD-src-5c50c1723ce284ddf6d2c9f25ec4307cd6cec043.zip
FreeBSD-src-5c50c1723ce284ddf6d2c9f25ec4307cd6cec043.tar.gz
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
Diffstat (limited to 'sys/isa/pnpvar.h')
-rw-r--r--sys/isa/pnpvar.h13
1 files changed, 7 insertions, 6 deletions
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 */
OpenPOWER on IntegriCloud