MFP4: 1136252
Add an option ATSE_CFI_HACK to allow memory mapped CFI devices to have their address range allocated sharable so that atse(4) can find it's Ethernet address in the expected location. We intend to remove this hack once the BERI platform has a loader.
This commit is contained in:
parent
f570e9e145
commit
1a440eb2c0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=256753
@ -69,6 +69,7 @@ TEXTDUMP_VERBOSE opt_ddb.h
|
||||
ADAPTIVE_LOCKMGRS
|
||||
ALQ
|
||||
ALTERA_SDCARD_FAST_SIM opt_altera_sdcard.h
|
||||
ATSE_CFI_HACK opt_cfi.h
|
||||
AUDIT opt_global.h
|
||||
BOOTHOWTO opt_global.h
|
||||
BOOTVERBOSE opt_global.h
|
||||
|
@ -281,7 +281,11 @@ cfi_attach(device_t dev)
|
||||
|
||||
sc->sc_rid = 0;
|
||||
sc->sc_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &sc->sc_rid,
|
||||
#ifndef ATSE_CFI_HACK
|
||||
RF_ACTIVE);
|
||||
#else
|
||||
RF_ACTIVE | RF_SHAREABLE);
|
||||
#endif
|
||||
if (sc->sc_res == NULL)
|
||||
return (ENXIO);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user