9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Jeremy Fitzhardinge jeremy@suede.sw.oz.au
Subject: Got a LaserWave CD controller working
Date: Wed, 30 Aug 1995 18:31:07 -0400	[thread overview]
Message-ID: <19950830223107.aPyyq5wJSRSDhUwK5SB1IRPLuheEf7rqrraYAexqVec@z> (raw)

Hi all,

I've got the CD interface on my LaserWave Nucleus to work properly
under Plan 9.   The patch to devsbcd.c follows - it works for me, but I
haven't thought about doing it cleanly to coexist with a real SB CD
interface, so it shouldn't be applied unless you're trying to get
something like a LaserWave, LaserMate, or some other CD-only card
working.  However, adding an INFO port as distinct from the DATA port
seems like a good general change.

	J

34c34,35
< 	DATA		= 0,
---
> 	INFO		= 0,
> 	DATA		= 2,		/* 0 for real SB, 2 for SB-like cards */
181c182
< 	sr = inb(port+DATA);
---
> 	sr = inb(port+INFO);
190c191
< 		sr = inb(port+DATA);
---
> 		sr = inb(port+INFO);






             reply	other threads:[~1995-08-30 22:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-08-30 22:31 Jeremy [this message]
1995-09-20  2:12 jmk
1995-09-21 20:30 Jeremy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=19950830223107.aPyyq5wJSRSDhUwK5SB1IRPLuheEf7rqrraYAexqVec@z \
    --to=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).