Skip to contentSkip to conversation

Mac89x0 Ethernet

PATCH Tony 'Nicoya' Mantler 1 participant 1 message Jan 1, 2004 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

In article <[email protected]>, Jeff Garzik <[email protected]> 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 :)

Signature · 2 lines
Tony 'Nicoya' Mantler -- Master of Code-fu -- [email protected]
--  http://nicoya.feline.pp.se/  --  http://www.ubb.ca/  --