Opened 14 years ago

Closed 7 years ago

Last modified 6 years ago

#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 Christian Franke, 10 years ago

Milestone: unscheduled

comment:3 by Alex Samorukov, 7 years ago

  1. No way to reproduce (NetBSD/sparc is not working with USB)
  2. I will move endian-related BSD code to the os_openbsd.cpp from atacmds.cpp
  3. 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
  4. Related to the #943
Last edited 7 years ago by Alex Samorukov (previous) (diff)

comment:4 by Alex Samorukov, 7 years ago

Owner: changed from somebody to Alex Samorukov
Status: newassigned

comment:5 by Alex Samorukov, 7 years ago

Milestone: unscheduledRelease 6.7
Resolution: fixed
Status: assignedclosed

Fixed in r4629.

comment:6 by Christian Franke, 6 years ago

Milestone: Release 6.7Release 7.0

Milestone renamed

Note: See TracTickets for help on using tickets.