From owner-freebsd-hackers Wed Aug 9 14: 9:14 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from studict.student.utwente.nl (studict.student.utwente.nl [130.89.220.2]) by hub.freebsd.org (Postfix) with ESMTP id D2FD137B65F for ; Wed, 9 Aug 2000 14:09:09 -0700 (PDT) (envelope-from t.vanklaveren@student.utwente.nl) Received: from phoenix (cal30b054.student.utwente.nl [130.89.229.25]) by studict.student.utwente.nl (8.8.6/MQT) with SMTP id XAA23623; Wed, 9 Aug 2000 23:07:54 +0200 (METDST) Message-ID: <003f01c00245$eddc2340$19e55982@student.utwente.nl> From: "Theo van Klaveren" To: "Soren Schmidt" Cc: References: <200008091551.RAA77500@freebsd.dk> Subject: Re: In-kernel ioctl calls Date: Wed, 9 Aug 2000 23:08:12 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Soren Schmidt wrote: -long story snipped- | > Am I just doing it wrong, or should atapi-cd.c be patched to verify if the | > buffer is in user space or in kernel space? If so, what function checks if | > an address is in kernel space or in user space? If not, what am I doing | > wrong? | | Here's another idea, the ata driver can read/write 2352 sector size | blocks directly, no need to use that ugly ioctl. You just have to | set the right blocksize, I could provide you with a function for | that, no more ioctl mess ;) That would be _greatly_ appreciated! The question is, would this be 'portable' to other drivers? In other words, how much trouble would it cost me to get AudioFS to work with SCSI? (On a side note, I'll be getting a SCSI card and accompanying Plextor CDROM from a friend of mine soon, so I can work at getting AudioFS to work on SCSI CDROMs). Theo van Klaveren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message