From c83acdc307347776d8bf3832fc65bdcf43d8e10d Mon Sep 17 00:00:00 2001 From: Jonathan Chen Date: Sun, 26 Aug 2001 23:56:49 +0000 Subject: [PATCH] Non-functional changes to NEWCARD stuff. This is the first part of a two-part update to NEWCARD. Changes in this commit are non-functional, and includes the following: * indentation and other changes to meet style(9). * other minor style consistancy changes * addition of comments * renaming of device_t variables to be consistant across all of NEWCARD. (note that not all style violations are fixed in this commit -- those that aren't will be clobbered by the next commit.) --- sys/dev/pccard/card_if.m | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/sys/dev/pccard/card_if.m b/sys/dev/pccard/card_if.m index 6298f3fb350..ac395e9d854 100644 --- a/sys/dev/pccard/card_if.m +++ b/sys/dev/pccard/card_if.m @@ -65,16 +65,16 @@ METHOD int get_res_flags { METHOD int set_memory_offset { device_t dev; device_t child; - int rid; - u_int32_t cardaddr; - u_int32_t *deltap; + int rid; + u_int32_t cardaddr; + u_int32_t *deltap; } METHOD int get_memory_offset { device_t dev; device_t child; - int rid; - u_int32_t *offset; + int rid; + u_int32_t *offset; } # @@ -210,21 +210,21 @@ HEADER { struct cis_tupleinfo { u_int8_t id; int len; - char* data; + char *data; }; }; CODE { static int null_cis_read(device_t dev, device_t child, u_int8_t id, - struct cis_tupleinfo **buff, int* nret) + struct cis_tupleinfo **buff, int *nret) { *nret = 0; *buff = NULL; return ENXIO; } static void - null_cis_free(device_t dev, struct cis_tupleinfo *buff, int* nret) + null_cis_free(device_t dev, struct cis_tupleinfo *buff, int *nret) { return; } @@ -235,14 +235,14 @@ METHOD int cis_read { device_t dev; device_t child; u_int8_t id; - struct cis_tupleinfo **buff; - int* nret; + struct cis_tupleinfo **buff; + int *nret; } DEFAULT null_cis_read; METHOD int cis_free { device_t dev; - struct cis_tupleinfo *buff; - int nret; + struct cis_tupleinfo *buff; + int nret; } DEFAULT null_cis_free;