This is a discussion on Re: Move sys/scsi -> sys/dev/scsipi within the mailing.openbsd.tech forums, part of the OpenBSD category; --> > Not sure if this is useful or not, but this patch moves sys/scsi to > sys/dev/scsipi. The rationale ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| > Not sure if this is useful or not, but this patch moves sys/scsi to > sys/dev/scsipi. The rationale for doing this are as follows: > > 1) sys/dev/ is a more logical place for this code. Not really. SCSI is a protocol, not a device driver. What next, move the NFS code to sys/dev/nfs/ too? > 2) This patch allows us to remove 3 instances of "#ifdef __OpenBSD__" This is of really minor value. > 3) This patch puts the code in the same place as NetBSD. And this is completely irrelevant. What next, change all the function names so they start with ``scsipi'' instead of ``scsi'', despite the code being different? I do not see any good reason to move this code. Miod |