Bug 28604

Summary: DVD_REPORT_RPC/DVD_SEND_RPC in ATAPI driver
Product: Base System Reporter: arg <arg>
Component: kernAssignee: Søren Schmidt <sos>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.3-STABLE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description arg 2001-07-01 20:10:02 UTC
	The implementation DVD_REPORT_RPC/DVD_SEND_RPC ioctls in the
	atapi-cd driver is incomplete: it performs the correct
	operations on the drive, but fails to pass the parameter to/from
	user space, making the call useless. 

	[Note: these are the ioctls used to set/read the region code on
	a DVD drive - necessary to initialise an 'out of the box' drive
	to allow region-specific DVDs to be played]

	The equivalent ioctls in the CAM cd driver were fixed a while ago.

How-To-Repeat: 	A small program to exercise these calls can be found at.
	 http://www.arg1.demon.co.uk/freebsd.html
Comment 1 Brooks Davis freebsd_committer freebsd_triage 2001-09-06 01:33:35 UTC
Responsible Changed
From-To: freebsd-bugs->sos

sos is Mr. ATA.  FWIW, I've had these patches in my tree for quite a 
while and did use them to set the region on a DVD-ROM drive once.
Comment 2 Søren Schmidt freebsd_committer freebsd_triage 2001-09-06 09:52:58 UTC
State Changed
From-To: open->closed

Committed to -current. MFC will follow.