diff options
author | mdodd <mdodd@FreeBSD.org> | 2002-10-02 04:47:52 +0000 |
---|---|---|
committer | mdodd <mdodd@FreeBSD.org> | 2002-10-02 04:47:52 +0000 |
commit | 8c002c3888127a0d4f8f6e05fb59dc16bbe23c62 (patch) | |
tree | 7befec476704899746c6491c4a6267e0e58582a2 | |
parent | f005de54e0d5bb9ccccc4ac9ced19cf1accc1794 (diff) | |
download | FreeBSD-src-8c002c3888127a0d4f8f6e05fb59dc16bbe23c62.zip FreeBSD-src-8c002c3888127a0d4f8f6e05fb59dc16bbe23c62.tar.gz |
Use more standard variable names for modevent functions.
-rw-r--r-- | sys/dev/hfa/hfa_freebsd.c | 4 | ||||
-rw-r--r-- | sys/dev/idt/idt_pci.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/hfa/hfa_freebsd.c b/sys/dev/hfa/hfa_freebsd.c index 67e4e76..d535336 100644 --- a/sys/dev/hfa/hfa_freebsd.c +++ b/sys/dev/hfa/hfa_freebsd.c @@ -358,13 +358,13 @@ hfa_reset (device_t dev) } static int -hfa_modevent (module_t mod, int what, void *arg) +hfa_modevent (module_t mod, int type, void *data) { int error; error = 0; - switch (what) { + switch (type) { case MOD_LOAD: /* * Verify software version diff --git a/sys/dev/idt/idt_pci.c b/sys/dev/idt/idt_pci.c index c2fe260..69b8e2e 100644 --- a/sys/dev/idt/idt_pci.c +++ b/sys/dev/idt/idt_pci.c @@ -267,13 +267,13 @@ idt_free (device_t dev) } static int -idt_modevent (module_t mod, int what, void *arg) +idt_modevent (module_t mod, int type, void *data) { int error; error = 0; - switch (what) { + switch (type) { case MOD_LOAD: idt_nif_zone = uma_zcreate("idt nif", sizeof(struct atm_nif), |