lkml.org 
[lkml]   [1999]   [Oct]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: GFP_DMA not good enough for problem hardware
Date
From
> The NIC contains a small boot loader in ROM which the driver uses to
> upload the real microcode image. Communication is through registers
> and a block of host memory. Unfortunately, the boot loader has a
> restricted window on the host's (PCI bus) RAM, namely 0-1Gb; on Alpha,

Whoops.

> I'm sure other driver writers have hit similar problems before. What
> can I do to fix this?

For x86 you are ok. Even with 4Gig of RAM a GFP_DMA kmalloc will hit the
low 16Mb. On other platforms you may have big problems. You are probably
reduced to loading firmware by hand if there is some kind of alternative
(eg debugging) interface for fiddling with the firmware RAM. If there isnt
that card may well simply never work on non PC.

Alan


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.602 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site