From owner-freebsd-current Thu Jan 18 10:56:12 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA25226 for current-outgoing; Thu, 18 Jan 1996 10:56:12 -0800 (PST) Received: from atlas.com (gw.atlas.com [205.139.124.67]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id KAA25102 Thu, 18 Jan 1996 10:55:58 -0800 (PST) Received: from billthecat.atlas.com. (billthecat.atlas.com [97.12.13.38]) by atlas.com (8.7.1/8.7.1) with SMTP id KAA15619; Thu, 18 Jan 1996 10:54:45 -0800 (PST) Received: by billthecat.atlas.com. (4.1/SMI-4.1) id AA00690; Thu, 18 Jan 96 10:58:31 PST Message-Id: <9601181858.AA00690@billthecat.atlas.com.> Subject: Re: NEC 2Xc CD changer supported? [yes, with patches] To: jmb@freebsd.org (Jonathan M. Bresler) Date: Thu, 18 Jan 1996 10:58:30 -0800 (PST) From: "Brant Katkansky" Cc: hardware@freebsd.org, current@freebsd.org In-Reply-To: from "Jonathan M. Bresler" at Jan 12, 96 04:42:20 pm X-Mailer: ELM [version 2.4 PL25] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@freebsd.org Precedence: bulk [ apologies to -current for crossposting this, but it contains a patch that should be in -current if it's not already ] > On Fri, 12 Jan 1996, Brant Katkansky wrote: > > I take it you're running -current? Have the patches been applied against > > the -current tree? If so, I have -current online, I just don't run it. I > > can probably figure out what was done so I can patch my 2.1 kernel. > > i have the included notes regarding the code changes below. my > apologies for not having proper diffs. at least, the changes are slight > small, as you can see. The patches you supplied worked as-is with the NEC 2Xc. The NEC appears to return the same vendor ID code as the Nakamichi, so I would assume that they are functionally the same unit. I don't know if these patches have made it into -current, but I think they should. Can someone with commit privs take care of this? > /sys/pci/ncr.c: about line 123 > > /* 960110 changed for Nakamichi 7 CD-ROM changer > #define MAX_LUN (1) */ > #define MAX_LUN (8) > /* end addition */ > > /sys/scsi/cd.c: about line536 > > /* 960110 added for the Nakamichi 7 CD-ROM changer > if(cd->dkunit) { */ > if(cd->dkunit >= 0) { > /* end addition */ > > > /sys/scsi/scsiconf.c: about line 278 > > /* 960110 added for the Nakamichi 7 CD-ROM changer */ > { > T_READONLY, T_REMOV, "NCR", "MBR-7" ,"*", > "cd", SC_MORE_LUS > }, > /* end addition */ > > /sys/scsi/scsiconf.c: about line 342 > > /* 960110 added for the Nakamichi 7 CD-ROM changer */ > { > T_READONLY, T_REMOV, "NRC", "MBR-7" > ,"any", "cd", SC_MORE_LUS > }, > /* end addition */ > -- Brant Katkansky (brantk@atlas.com) Systems Test Engineer, ADC