sdhci on 7.1-beta2 amd64

Elton Clemente elton at kairosinformatica.com.br
Thu Nov 13 09:55:02 PST 2008


Hi,

 

 

                The module sdhci works in freebsd 7x amd64?

                I try, but not compiled.

                

cbb0 at pci0:6:4:0:        class=0x060700 card=0x009f1025 chip=0x14121524
rev=0x10 hdr=0x02

    vendor     = 'ENE Technology Inc'

    device     = 'CB-712/714 CardBus Controller'

    class      = bridge

    subclass   = PCI-CardBus

none0 at pci0:6:4:1:       class=0x050100 card=0x009f1025 chip=0x05301524
rev=0x01 hdr=0x00

    vendor     = 'ENE Technology Inc'

    device     = 'CB-712/714/810 Memory Stick Card Reader'

    class      = memory

    subclass   = flash

none1 at pci0:6:4:2:       class=0x080501 card=0x009f1025 chip=0x05501524
rev=0x01 hdr=0x00

    vendor     = 'ENE Technology Inc'

    device     = 'CB-712/714/810 Secure Digital Card Reader'

    class      = base peripheral

none2 at pci0:6:4:3:       class=0x050100 card=0x009f1025 chip=0x05201524
rev=0x01 hdr=0x00

    vendor     = 'ENE Technology Inc'

    device     = 'PCI SmartMedia / xD Card Reader Controller'

    class      = memory

    subclass   = flash

none3 at pci0:6:4:4:       class=0x050100 card=0x009f1025 chip=0x05511524
rev=0x01 hdr=0x00

    vendor     = 'ENE Technology Inc'

    device     = 'PCI SD/MMC Card Reader Controller'

    class      = memory

    subclass   = flash

 

                try complie.:

 

note:/usr/src/sys/modules/sdhci> make

Warning: Object directory not changed from original
/usr/src/sys/modules/sdhci

@ -> /usr/src/sys

machine -> /usr/src/sys/amd64/include

awk -f @/tools/makeobjops.awk @/kern/device_if.m -h

awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h

awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h

awk -f @/tools/makeobjops.awk @/dev/mmc/mmcbr_if.m -h

cc -O2 -fno-strict-aliasing -pipe  -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc
-I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100
--param large-function-growth=1000 -fno-common  -fno-omit-frame-pointer
-mcmodel=kernel -mno-red-zone  -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx
-mno-3dnow  -msoft-float -fno-asynchronous-unwind-tables -ffreestanding
-Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef
-Wno-pointer-sign -fformat-extensions -c sdhci.c

sdhci.c: In function 'sdhci_attach':

sdhci.c:722: error: 'MMC_CAP_HSPEED' undeclared (first use in this function)

sdhci.c:722: error: (Each undeclared identifier is reported only once

sdhci.c:722: error: for each function it appears in.)

sdhci.c: In function 'sdhci_update_ios':

sdhci.c:823: error: 'struct mmc_ios' has no member named 'timing'

sdhci.c:823: error: 'bus_timing_hs' undeclared (first use in this function)

sdhci.c: In function 'sdhci_read_ivar':

sdhci.c:1437: error: 'MMCBR_IVAR_CAPS' undeclared (first use in this
function)

sdhci.c:1440: error: 'MMCBR_IVAR_TIMING' undeclared (first use in this
function)

sdhci.c:1441: error: 'struct mmc_ios' has no member named 'timing'

sdhci.c:1443: error: 'MMCBR_IVAR_MAX_DATA' undeclared (first use in this
function)

sdhci.c: In function 'sdhci_write_ivar':

sdhci.c:1493: error: 'MMCBR_IVAR_TIMING' undeclared (first use in this
function)

sdhci.c:1494: error: 'struct mmc_ios' has no member named 'timing'

sdhci.c:1496: error: 'MMCBR_IVAR_CAPS' undeclared (first use in this
function)

sdhci.c:1500: error: 'MMCBR_IVAR_MAX_DATA' undeclared (first use in this
function)

*** Error code 1

 

Stop in /usr/src/sys/modules/sdhci.

 

Thks,

Elton



More information about the freebsd-amd64 mailing list