Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys



Jason R Thorpe wrote:

> Module Name:  src
> Committed By: thorpej
> Date:         Fri May  5 18:04:43 UTC 2006
> 
> Modified Files:
> 
>       src/sys/arch/algor/algor: autoconf.c
>       src/sys/arch/arm/ep93xx: epe.c
>       src/sys/arch/evbarm/armadillo: armadillo9_machdep.c
>       src/sys/arch/evbmips/alchemy: autoconf.c
>       src/sys/arch/evbmips/atheros: autoconf.c
>       src/sys/arch/evbppc/explora: machdep.c
>       src/sys/arch/evbppc/obs405/dev: century_bios.c
>       src/sys/arch/evbppc/walnut: autoconf.c machdep.c
>       src/sys/arch/iyonix/iyonix: autoconf.c
>       src/sys/arch/mips/alchemy/dev: if_aumac.c
>       src/sys/arch/mips/atheros/dev: if_ae.c
>       src/sys/arch/powerpc/ibm4xx: board_prop.c clock.c cpu.c
>           ibm4xx_autoconf.c
>       src/sys/arch/powerpc/ibm4xx/dev: com_opb.c ecc_plb.c if_emac.c wdog.c
>       src/sys/arch/powerpc/ibm4xx/openbios: openbios.c
>       src/sys/arch/powerpc/include/ibm4xx: cpu.h
>       src/sys/arch/prep/prep: autoconf.c
>       src/sys/arch/sgimips/sgimips: autoconf.c
>       src/sys/dev/i2c: lm75.c
>       src/sys/dev/onewire: owtemp.c
>       src/sys/dev/pci: ahc_pci.c if_tlp_pci.c if_wm.c
>       src/sys/kern: subr_autoconf.c
>       src/sys/sys: device.h
> 
> Log Message:
> 
> Remove the devprop API and switch everthing over to the new proplib.  Add
> a new device_properties() accessor for device_t that returns the device's
> property dictionary.

After this change, a WALNUT kernel (probably the biggest user of the old
devprop API) doesn't work properly:

        ...
        opb0 at plb0
        com0 at opb0 addr 0xef600300 irq 0: ns16550a, working fifo
        com0: console
        com1 at opb0 addr 0xef600400 irq 1WARNING: unable to set frequency 
property for com1
        : unable to get frequency property
        emac0 at opb0 addr 0xef600800 irq 9WARNING: unable to set mac-addr 
property for emac0
        : 405GP EMAC
        emac0: interrupting at irqs 9 .. 15
        emac0: unable to get mac-addr property
        ...

Simon.
--
Simon Burge                            <simonb%wasabisystems.com@localhost>
NetBSD Support and Service:         http://www.wasabisystems.com/



Home | Main Index | Thread Index | Old Index