Re: [PATCH 357] Mac89x0 Ethernet

From: Tony 'Nicoya' Mantler
Date: Thu Jan 01 2004 - 17:25:12 EST


In article <19iRU-2Hc-43@xxxxxxxxxxxxxxxx>, Jeff Garzik <jgarzik@xxxxxxxxx>
wrote:

: > + /* Write the contents of the packet */
: > + memcpy((void *)(dev->mem_start + PP_TxFrame), skb->data, skb->len+1);
:
: Is dev->mem_start DMA memory?

Old macs (with a few oddball exceptions) don't do DMA. dev->mem_start points to
the start of the card's NuBus-ish space, which the frame is being copied into in
this case.


Cheers - Tony 'Nicoya' Mantler :)

--
Tony 'Nicoya' Mantler -- Master of Code-fu -- nicoya@xxxxxx
-- http://nicoya.feline.pp.se/ -- http://www.ubb.ca/ --
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/