Date: Sat, 10 Oct 1998 15:22:04 -0600 (MDT) From: "Kenneth D. Merry" <ken@plutotech.com> To: perlsta@fs3.ny.genx.net (Alfred) Cc: current@FreeBSD.ORG, se@FreeBSD.ORG Subject: Re: /usr/include/sys/cam/scsi... Message-ID: <199810102122.PAA07993@panzer.plutotech.com> In-Reply-To: <Pine.SOL.4.00.9810101554280.23211-100000@fs3.ny.genx.net> from Alfred at "Oct 10, 98 03:57:20 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
[ 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 <scsi.h> #include <sys/scsiio.h> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810102122.PAA07993>