From owner-freebsd-current Sat Oct 10 14:22:50 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA02949 for freebsd-current-outgoing; Sat, 10 Oct 1998 14:22:50 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from panzer.plutotech.com (panzer.plutotech.com [206.168.67.125]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA02902; Sat, 10 Oct 1998 14:22:16 -0700 (PDT) (envelope-from ken@panzer.plutotech.com) Received: (from ken@localhost) by panzer.plutotech.com (8.9.1/8.8.5) id PAA07993; Sat, 10 Oct 1998 15:22:04 -0600 (MDT) From: "Kenneth D. Merry" Message-Id: <199810102122.PAA07993@panzer.plutotech.com> Subject: Re: /usr/include/sys/cam/scsi... In-Reply-To: from Alfred at "Oct 10, 98 03:57:20 pm" To: perlsta@fs3.ny.genx.net (Alfred) Date: Sat, 10 Oct 1998 15:22:04 -0600 (MDT) Cc: current@FreeBSD.ORG, se@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL28s (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [ CCed to Stefan, the KDE maintainer, since these includes probably need to be taken out for FreeBSD ] Alfred wrote... > > sorry, what i meant was that we used to have a: > > /usr/include/scsi.h > or /usr/include/sys/scsi.h (i forget which) > > now we have /usr/include/cam/scsi_all.h > > a lot of applications broke during compile just because of the renameing. > when the scsi.h was replaced by cam/scsi_all.h it compiled and worked, > notably kscd (the kde CD player) > > so, :) > can't we have a compadibility header for scsi? The short answer is: No. There's no point in keeping the same names for the header files if their contents are more or less completely different. I looked through the kscd source, and I'm surprised that they need to include any SCSI header files at all. These are the two header files they include: #include #include The first one contains the old SCSI library interface, which has been completely replaced. The second one contains primarily the old SCSI ioctl interface, which has also been completely replaced. In fact, I just #if 0'ed those two header files out of plat_freebsd.c, and it compiled just fine. And I wouldn't say that a lot of applications have broken, since this is the first one I've heard about. The public ioctl interface to the CD driver has not changed from the old driver. It's still in sys/cdio.h. In fact, I've got a copy of xcdplayer from July 1997 that still works just fine. (although this machine was running CAM then...) Also, you'll get a faster response if you CC your mail to me, rather than just sending it only to the mailing list. Ken -- Kenneth Merry ken@plutotech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message