#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 by , 10 years ago
Milestone: | → unscheduled |
---|
comment:2 by , 9 years ago
comment:3 by , 7 years ago
- 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
comment:4 by , 7 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:5 by , 7 years ago
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