From owner-p4-projects@FreeBSD.ORG Wed Oct 20 03:40:26 2010 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 748E11065675; Wed, 20 Oct 2010 03:40:26 +0000 (UTC) Delivered-To: perforce@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 213C91065670 for ; Wed, 20 Oct 2010 03:40:26 +0000 (UTC) (envelope-from gonzo@FreeBSD.org) Received: from skunkworks.freebsd.org (skunkworks.freebsd.org [IPv6:2001:4f8:fff6::2d]) by mx1.freebsd.org (Postfix) with ESMTP id 05A198FC12 for ; Wed, 20 Oct 2010 03:40:26 +0000 (UTC) Received: from skunkworks.freebsd.org (localhost [127.0.0.1]) by skunkworks.freebsd.org (8.14.4/8.14.4) with ESMTP id o9K3ePGR078604 for ; Wed, 20 Oct 2010 03:40:25 GMT (envelope-from gonzo@FreeBSD.org) Received: (from perforce@localhost) by skunkworks.freebsd.org (8.14.4/8.14.4/Submit) id o9K3ePRJ078598 for perforce@freebsd.org; Wed, 20 Oct 2010 03:40:25 GMT (envelope-from gonzo@FreeBSD.org) Date: Wed, 20 Oct 2010 03:40:25 GMT Message-Id: <201010200340.o9K3ePRJ078598@skunkworks.freebsd.org> X-Authentication-Warning: skunkworks.freebsd.org: perforce set sender to gonzo@FreeBSD.org using -f From: Oleksandr Tymoshenko To: Perforce Change Reviews Precedence: bulk Cc: Subject: PERFORCE change 184920 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Oct 2010 03:40:26 -0000 http://p4web.freebsd.org/@@184920?ac=10 Change 184920 by gonzo@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;