From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 30 Aug 1995 18:31:07 -0400 From: Jeremy Fitzhardinge jeremy@suede.sw.oz.au Subject: Got a LaserWave CD controller working Topicbox-Message-UUID: 1d997fa8-eac8-11e9-9e20-41e7f4b1d025 Message-ID: <19950830223107.aPyyq5wJSRSDhUwK5SB1IRPLuheEf7rqrraYAexqVec@z> 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);