cvs commit: src/sys/dev/netif/de if_de.c if_devar.h

Sepherosa Ziehau sepherosa at gmail.com
Wed May 11 17:36:19 PDT 2005


@@ -4184,16 +4172,14 @@ tulip_pci_attach(device_t dev)
. .....
+	device_printf("address unknown\n");
. .....

Will it be `device_printf(dev, "address unknown\n");'?

There are still quite a lot of netif driver using printf, I may help
to change them into device_printf()/if_printf().

On 5/12/05, Joerg Sonnenberger <joerg at xxxxxxxxxxxxxxxxxxxxxxx> wrote:
> joerg       2005/05/11 13:58:35 PDT
> 
> DragonFly src repository
> 
>   Modified files:
>     sys/dev/netif/de     if_de.c if_devar.h
>   Log:
>   Use device_printf / if_printf and stop abusing the ifnet fields for
>   internal purposes.
> 
>   Revision  Changes    Path
>   1.33      +34 -49    src/sys/dev/netif/de/if_de.c
>   1.13      +1 -4      src/sys/dev/netif/de/if_devar.h
> 
> http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/de/if_de.c.diff?r1=1.32&r2=1.33&f=u
> http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/de/if_devar.h.diff?r1=1.12&r2=1.13&f=u
> 


-- 
Live Free or Die






More information about the Commits mailing list