Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Nov 2002 17:51:25 -0800 (PST)
From:      Nate Lawson <nate@root.org>
To:        Dirk Froemberg <dirk@freebsd.org>
Cc:        hackers@freebsd.org
Subject:   Re: cvs commit: src/sys/cam/scsi scsi_cd.c scsi_cd.h src/sys/dev/ata atapi-cd.c src/sys/sys cdrio.h src/usr.sbin/burncd burncd.8 burncd.c src/usr.sbin/cdcontrol cdcontrol.1 cdcontrol.c
Message-ID:  <Pine.BSF.4.21.0211201748420.65671-100000@root.org>
In-Reply-To: <20021120215002.GA24568@physik.TU-Berlin.DE>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 20 Nov 2002, Dirk Froemberg wrote:
> What about CDRIOCGETBLOCKSIZE and CDRIOCSETBLOCKSIZE? Any chance
> to have these ioctl in cd(4)?
> 
> This would allow mplayer to play (S)VCD with SCSI cd drives. 8-)
> 
> 	Regards Dirk

I'm open to reviewing a patch that does this if someone wants to do it
(jkh?)  The ioctls left to port from atapi-cd.c are:

#define CDRIOCBLANK             _IOW('c', 100, int)
#define CDRIOCNEXTWRITEABLEADDR _IOR('c', 101, int)
#define CDRIOCINITWRITER        _IOW('c', 102, int)
#define CDRIOCINITTRACK         _IOW('c', 103, struct cdr_track)
#define CDRIOCSENDCUE           _IOW('c', 104, struct cdr_cuesheet)
#define CDRIOCFLUSH             _IO('c', 105)
#define CDRIOCFIXATE            _IOW('c', 106, int)
#define CDRIOCGETBLOCKSIZE      _IOR('c', 109, int)
#define CDRIOCSETBLOCKSIZE      _IOW('c', 110, int)
#define CDRIOCGETPROGRESS       _IOR('c', 111, int)
#define CDRIOCREADFORMATCAPS    _IOR('c', 112, struct 
cdr_format_capacities)
#define CDRIOCFORMAT            _IOW('c', 113, struct cdr_format_params)

However, I'm working on more CAM stuff that should make this code
duplication unnecessary so I won't be duping this code myself.

-Nate


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0211201748420.65671-100000>