PERFORCE change 184920 for review
Oleksandr Tymoshenko
gonzo at FreeBSD.org
Wed Oct 20 03:40:26 UTC 2010
http://p4web.freebsd.org/@@184920?ac=10
Change 184920 by gonzo at gonzo_figaro on 2010/10/20 03:40:18
- Fix signature for bus_add_child method. Order now is u_int
Affected files ...
.. //depot/projects/avr32/src/sys/avr32/avr32/at32.c#13 edit
.. //depot/projects/avr32/src/sys/avr32/avr32/at32_smc.c#3 edit
.. //depot/projects/avr32/src/sys/avr32/avr32/at32_tc.c#5 edit
.. //depot/projects/avr32/src/sys/avr32/avr32/nexus.c#4 edit
Differences ...
==== //depot/projects/avr32/src/sys/avr32/avr32/at32.c#13 (text+ko) ====
@@ -52,7 +52,7 @@
/* Prototypes */
static int at32_probe(device_t);
static int at32_attach(device_t);
-static device_t at32_add_child(device_t, int, const char *, int);
+static device_t at32_add_child(device_t, u_int, const char *, int);
static void at32_hinted_child(device_t, const char *, int);
static struct resource_list *at32_get_resource_list(device_t, device_t);
static int at32_print_child(device_t, device_t);
@@ -154,7 +154,7 @@
}
static device_t
-at32_add_child(device_t bus, int order, const char *name, int unit)
+at32_add_child(device_t bus, u_int order, const char *name, int unit)
{
device_t child;
struct at32_ivar *ivar;
==== //depot/projects/avr32/src/sys/avr32/avr32/at32_smc.c#3 (text+ko) ====
@@ -70,7 +70,7 @@
static int at32_smc_attach(device_t);
static int at32_smc_detach(device_t);
static void at32_smc_deactivate(device_t);
-static device_t at32_smc_add_child(device_t, int, const char *, int);
+static device_t at32_smc_add_child(device_t, u_int, const char *, int);
static void at32_smc_hinted_child(device_t, const char *, int);
static int at32_smc_print_child(device_t, device_t);
static struct resource_list *at32_smc_get_resource_list(device_t, device_t);
@@ -197,7 +197,7 @@
}
static device_t
-at32_smc_add_child(device_t bus, int order, const char *name, int unit)
+at32_smc_add_child(device_t bus, u_int order, const char *name, int unit)
{
device_t child;
struct at32_smc_ivar *ivar;
==== //depot/projects/avr32/src/sys/avr32/avr32/at32_tc.c#5 (text+ko) ====
@@ -59,7 +59,7 @@
static int at32_tc_probe(device_t);
static int at32_tc_attach(device_t);
static int at32_tc_detach(device_t);
-static device_t at32_tc_add_child(device_t, int, const char *, int);
+static device_t at32_tc_add_child(device_t, u_int, const char *, int);
static void at32_tc_hinted_child(device_t, const char *, int);
static int at32_tc_print_child(device_t, device_t);
static struct resource_list *at32_tc_get_resource_list(device_t, device_t);
@@ -200,7 +200,7 @@
}
static device_t
-at32_tc_add_child(device_t bus, int order, const char *name, int unit)
+at32_tc_add_child(device_t bus, u_int order, const char *name, int unit)
{
device_t child;
struct at32_tc_ivar *ivar;
==== //depot/projects/avr32/src/sys/avr32/avr32/nexus.c#4 (text+ko) ====
@@ -64,7 +64,7 @@
static int nexus_probe(device_t);
static int nexus_attach(device_t);
static int nexus_print_child(device_t, device_t);
-static device_t nexus_add_child(device_t, int, const char *, int);
+static device_t nexus_add_child(device_t, u_int, const char *, int);
static void nexus_hinted_child(device_t, const char *, int);
static struct resource *nexus_alloc_resource(device_t, device_t, int, int *,
u_long, u_long, u_long, u_int);
@@ -183,7 +183,7 @@
}
static device_t
-nexus_add_child(device_t bus, int order, const char *name, int unit)
+nexus_add_child(device_t bus, u_int order, const char *name, int unit)
{
struct nexus_device *ndev;
device_t child;
More information about the p4-projects
mailing list