Re: [hatari-devel] Re: Hatari SCSI Driver patch

[ Thread Index | Date Index | More Archives ]


Hmm, I don't think that this would be correct. The SCSI Driver does not
require libudev. Only in case libudev is present in order to reliably detect
media changes the SCSI Driver has to be linked against it, and the
conditional code has to be compiled.
In other words, if HAVE_UDEV is 0 and the platform is Linux, the SCSI
Driver should be compiled without udev support. Only if the platform is
not Linux the driver shall not be compiled at all.

Please correct me if I am missing something.

Take care


> Le 28/10/2015 08:39, Uwe Seimet a écrit :
> > Hi,
> >
> > Should be better now, please see attachment.
> >
> Hi
> just a small note : since you define HAVE_UDEV to check if udev is 
> available, I think you could remove the "#if defined(__linux__)" (in 
> reset.c for example) and keep only the HAVE_xxxx coming from cmake
> Nicolas

Mail converted by MHonArc 2.6.19+