retire BIOS_SEG and umap_bios
. readbios call is now a physical copy with range check in the kernel call instead of BIOS_SEG+umap_bios . requires all access to physical memory in bios range to go through sys_readbios . drivers/dpeth: wasn't using it . adjusted printer
This commit is contained in:
@@ -204,11 +204,7 @@ static void get_userdata_s(int user_proc, cp_grant_id_t grant,
|
||||
static void do_first_init(dpeth_t *dep, const dp_conf_t *dcp)
|
||||
{
|
||||
|
||||
if (dep->de_linmem != 0) {
|
||||
dep->de_memsegm = BIOS_SEG;
|
||||
/* phys2seg(&dep->de_memsegm, &dep->de_memoffs, dep->de_linmem); */
|
||||
} else
|
||||
dep->de_linmem = 0xFFFF0000;
|
||||
dep->de_linmem = 0xFFFF0000;
|
||||
|
||||
/* Make sure statisics are cleared */
|
||||
memset((void *) &(dep->de_stat), 0, sizeof(eth_stat_t));
|
||||
|
||||
@@ -117,7 +117,6 @@ typedef struct dpeth {
|
||||
#define DEI_DEFAULT 0x8000
|
||||
|
||||
phys_bytes de_linmem; /* For boards using shared memory */
|
||||
unsigned short de_memsegm;
|
||||
vir_bytes de_memoffs;
|
||||
int de_ramsize; /* Size of on board memory */
|
||||
int de_offset_page; /* Offset of shared memory page */
|
||||
|
||||
Reference in New Issue
Block a user