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 [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to