FAQ: [#7153] build spi net device fails for no enc28j60_hw.h(2012)

Document created by Aaronwu Employee on Sep 12, 2013
Version 1Show Document
  • View in full screen mode

[#7153] build spi net device fails for no enc28j60_hw.h

Submitted By: Mingquan Pan

Open Date

2012-06-08 01:32:40     Close Date

2012-06-29 03:14:27

Priority:

Medium     Assignee:

Bob Liu

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

N/A     Board:

N/A

Processor:

BF537     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

ADI-2012r1-beta1

App binary format:

N/A     

Summary: build spi net device fails for no enc28j60_hw.h

Details:

 

build spi net device fails for no  enc28j60_hw.h.

 

  GZIP    kernel/config_data.gz^M

  CHK     kernel/config_data.h^M

  UPD     kernel/config_data.h^M

  CC      kernel/configs.o^M

  LD      kernel/built-in.o^M

  CC      drivers/net/ethernet/microchip/enc28j60.o^M

  CC      drivers/net/enc28j60.o^M

drivers/net/enc28j60.c:32:25: error: enc28j60_hw.h: No such file or directory^M

drivers/net/enc28j60.c:75: error: ‘MAX_FRAMELEN’ undeclared here (not in a function)^M

drivers/net/enc28j60.c: In function ‘spi_read_buf’:^M

drivers/net/enc28j60.c:100: error: ‘ENC28J60_READ_BUF_MEM’ undeclared (first use in this function)^M

drivers/net/enc28j60.c:100: error: (Each undeclared identifier is reported only once^M

drivers/net/enc28j60.c:100: error: for each function it appears in.)^M

drivers/net/enc28j60.c: In function ‘spi_write_buf’:^M

drivers/net/enc28j60.c:128: error: ‘ENC28J60_WRITE_BUF_MEM’ undeclared (first use in this function)^M

drivers/net/enc28j60.c: In function ‘spi_read_op’:^M

drivers/net/enc28j60.c:151: error: ‘SPRD_MASK’ undeclared (first use in this function)^M

drivers/net/enc28j60.c:154: error: ‘ADDR_MASK’ undeclared (first use in this function)^M

drivers/net/enc28j60.c: In function ‘spi_write_op’:^M

drivers/net/enc28j60.c:173: error: ‘ADDR_MASK’ undeclared (first use in this function)^M

drivers/net/enc28j60.c: In function ‘enc28j60_soft_reset’:^M

drivers/net/enc28j60.c:187: error: ‘ENC28J60_SOFT_RESET’ undeclared (first use in this function)^M

drivers/net/enc28j60.c: In function ‘enc28j60_set_bank’:^M

drivers/net/enc28j60.c:198: error: ‘BANK_MASK’ undeclared (first use in this function)^M

drivers/net/enc28j60.c:203: error: ‘EIE’ undeclared (first use in this function)^M

drivers/net/enc28j60.c:203: error: ‘ECON1’ undeclared (first use in this function)^M

drivers/net/enc28j60.c:207: error: ‘ECON1_BSEL0’ undeclared (first use in this function)^M

drivers/net/enc28j60.c:209: error: ‘ENC28J60_BIT_FIELD_SET’ undeclared (first use in this function)^M

drivers/net/enc28j60.c:212: error: ‘ENC28J60_BIT_FIELD_CLR’ undeclared (first use in this function)^M

drivers/net/enc28j60.c:215: error: ‘ECON1_BSEL1’ undeclared (first use in this function)^M

drivers/net/enc28j60.c: In function ‘nolock_reg_bfset’:^M

drivers/net/enc28j60.c:244: error: ‘ENC28J60_BIT_FIELD_SET’ undeclared (first use in this function)^M

drivers/net/enc28j60.c: In function ‘nolock_reg_bfclr’:^M

drivers/net/enc28j60.c:262: error: ‘ENC28J60_BIT_FIELD_CLR’ undeclared (first use in this function)^M

drivers/net/enc28j60.c: In function ‘nolock_regb_read’:^M

drivers/net/enc28j60.c:280: error: ‘ENC28J60_READ_CTRL_REG’ undeclared (first use in this function)^M

 

Follow-ups

 

--- Scott Jiang                                              2012-06-15 02:51:50

Kernel update issue. Bob will take a look at it.

 

--- Bob Liu                                                  2012-06-18 05:03:58

fixed

 

--- Vivi Li                                                  2012-06-29 04:15:01

OK now.

Close it.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes