#117 closed defect (fixed)
IDENTIFY of USB devices may not work on bigendian NetBSD platforms
Reported by: | Christian Franke | Owned by: | Alex Samorukov |
---|---|---|---|
Priority: | minor | Milestone: | Release 7.0 |
Component: | all | Version: | 5.40 |
Keywords: | netbsd bigendian | Cc: |
Description
NetBSD ATAIOCCOMMAND delivers IDENTIFY data always in host byte order. This is not the case for data delivered by SCIOCCOMMAND through SAT or other USB bridge specific SCSI commands. The NetBSD special case is handled in atacmds.cpp without taking this into account, it should be handled in os_netbsd.cpp instead.
Change History (6)
comment:1 Changed 8 years ago by
Milestone: | → unscheduled |
---|
comment:2 Changed 8 years ago by
comment:3 Changed 6 years ago by
- No way to reproduce (NetBSD/sparc is not working with USB)
- I will move endian-related BSD code to the
os_openbsd.cpp
fromatacmds.cpp
- Possible to use https://github.com/IIJ-NetBSD/netbsd-src/blob/master/sbin/atactl/atactl.c as a reference and qemu-sparc64 as a test for the non-usb devices
- Related to the #943
comment:4 Changed 6 years ago by
Owner: | changed from somebody to Alex Samorukov |
---|---|
Status: | new → assigned |
comment:5 Changed 6 years ago by
Milestone: | unscheduled → Release 6.7 |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
Fixed in r4629.
Note: See
TracTickets for help on using
tickets.
will try to reproduce using http://www.iram.fr/~blanchet/tutorials/netbsd-sparc-qemu.html