Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Byte your tongue.


computers / comp.sys.ibm.ps2.hardware / MCA busmaster adapter / DMA transfers

SubjectAuthor
* MCA busmaster adapter / DMA transfersChristian Holzapfel
+- Re: MCA busmaster adapter / DMA transfersChristian Holzapfel
`- Re: MCA busmaster adapter / DMA transfersLouis Ohland

1
MCA busmaster adapter / DMA transfers

<98daa496-7293-458e-8f0a-4d94141b8613n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=4172&group=comp.sys.ibm.ps2.hardware#4172

  copy link   Newsgroups: comp.sys.ibm.ps2.hardware
X-Received: by 2002:ad4:42b4:0:b0:66c:f774:2f80 with SMTP id e20-20020ad442b4000000b0066cf7742f80mr540586qvr.2.1699283341400;
Mon, 06 Nov 2023 07:09:01 -0800 (PST)
X-Received: by 2002:a9d:5501:0:b0:6bc:c93b:3066 with SMTP id
l1-20020a9d5501000000b006bcc93b3066mr7884052oth.1.1699283341186; Mon, 06 Nov
2023 07:09:01 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.ibm.ps2.hardware
Date: Mon, 6 Nov 2023 07:09:00 -0800 (PST)
Injection-Info: google-groups.googlegroups.com; posting-host=31.18.79.57; posting-account=FPBAAwoAAAAHSuAFWDSUBrkdVBQ0jD3u
NNTP-Posting-Host: 31.18.79.57
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <98daa496-7293-458e-8f0a-4d94141b8613n@googlegroups.com>
Subject: MCA busmaster adapter / DMA transfers
From: goo...@holzapfel.biz (Christian Holzapfel)
Injection-Date: Mon, 06 Nov 2023 15:09:01 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1931
 by: Christian Holzapfel - Mon, 6 Nov 2023 15:09 UTC

Imagine you're your favorite mid- to late-90's busmaster capable MCA adapter, let's say a network card.
You have one single DMA level configured in your POS. It's yours.
You are on a Type 2 planar (late SCB DMA instead of 16-bit PIO) or more, and you earn your money by writing data from the system memory onto the bus (TX), and also at random times from the bus into system memory (RX).

You want to transfer data now.
You knock on the PREEMPT# line, arbitrate, and then you win!
What do you do to actually transfer the data?

a) Do you fire an interrupt, wait for the CPU to pick it up, configure the system DMA controller to do the work?
b) Do you, as a smart-ass busmaster card, instruct the DMA controller to do the work for you?
c) Anything else?

And finally, does it matter which direction the data is going?
Like for RX it's the adapter to initiate the DMA transfer, and for TX it's the CPU? Or is it all the same?

Re: MCA busmaster adapter / DMA transfers

<5dd0860f-5c78-4651-b1a3-0bc8ccfdbdb2n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=4173&group=comp.sys.ibm.ps2.hardware#4173

  copy link   Newsgroups: comp.sys.ibm.ps2.hardware
X-Received: by 2002:a0c:fd6c:0:b0:66d:2e26:fa9a with SMTP id k12-20020a0cfd6c000000b0066d2e26fa9amr521404qvs.5.1699283776336;
Mon, 06 Nov 2023 07:16:16 -0800 (PST)
X-Received: by 2002:a05:6870:241a:b0:1ea:973:51da with SMTP id
n26-20020a056870241a00b001ea097351damr3791oap.0.1699283776075; Mon, 06 Nov
2023 07:16:16 -0800 (PST)
Path: i2pn2.org!rocksolid2!news.neodome.net!tncsrv06.tnetconsulting.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.ibm.ps2.hardware
Date: Mon, 6 Nov 2023 07:16:15 -0800 (PST)
In-Reply-To: <98daa496-7293-458e-8f0a-4d94141b8613n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=31.18.79.57; posting-account=FPBAAwoAAAAHSuAFWDSUBrkdVBQ0jD3u
NNTP-Posting-Host: 31.18.79.57
References: <98daa496-7293-458e-8f0a-4d94141b8613n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <5dd0860f-5c78-4651-b1a3-0bc8ccfdbdb2n@googlegroups.com>
Subject: Re: MCA busmaster adapter / DMA transfers
From: goo...@holzapfel.biz (Christian Holzapfel)
Injection-Date: Mon, 06 Nov 2023 15:16:16 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1277
 by: Christian Holzapfel - Mon, 6 Nov 2023 15:16 UTC

By the way, you as the card, you know the virtual source/target addresses for TX/RX in system memory.
The driver gave it to you earlier.

Re: MCA busmaster adapter / DMA transfers

<uibeht$1pno$1@842ffb22-07e1-11e5-a459-00266cf00584.csiph.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=4174&group=comp.sys.ibm.ps2.hardware#4174

  copy link   Newsgroups: comp.sys.ibm.ps2.hardware
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!csiph.com!.POSTED.071-087-128-192.res.spectrum.com!not-for-mail
From: ohl...@charter.net (Louis Ohland)
Newsgroups: comp.sys.ibm.ps2.hardware
Subject: Re: MCA busmaster adapter / DMA transfers
Date: Mon, 6 Nov 2023 13:25:02 -0600
Organization: csiph.com Internet News Service
Message-ID: <uibeht$1pno$1@842ffb22-07e1-11e5-a459-00266cf00584.csiph.com>
References: <98daa496-7293-458e-8f0a-4d94141b8613n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 6 Nov 2023 19:24:45 -0000 (UTC)
Injection-Info: 842ffb22-07e1-11e5-a459-00266cf00584.csiph.com; posting-host="071-087-128-192.res.spectrum.com:71.87.128.192";
logging-data="59128"; mail-complaints-to="admin@kev009.com"
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Firefox/91.0 SeaMonkey/2.53.17.1
In-Reply-To: <98daa496-7293-458e-8f0a-4d94141b8613n@googlegroups.com>
 by: Louis Ohland - Mon, 6 Nov 2023 19:25 UTC

No answers.

I would think a busmaster [master] would tell the DMA controller that
there is a DMA transfer. The DMA controller sets up the DMA transfer,
then the busmaster sends it. The receiving device may be a busmaster
itself, but for the porpoises of this transfer, it acts as a memory
slave [to system memory] or I/O slave [to a port or adapter].

The direction does not change the mechanism, but the MCA will call it M
or I/O.

Christian Holzapfel wrote:
> a) Do you fire an interrupt, wait for the CPU to pick it up, configure the system DMA controller to do the work?
> b) Do you, as a smart-ass busmaster card, instruct the DMA controller to do the work for you?
> c) Anything else?
>
> And finally, does it matter which direction the data is going?
> Like for RX it's the adapter to initiate the DMA transfer, and for TX it's the CPU? Or is it all the same?

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor