Use more standard variable names for modevent functions.

This commit is contained in:
Matthew N. Dodd 2002-10-02 04:47:52 +00:00
parent c12ef98f27
commit 945a11211b
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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),