[haiku-bugs] Re: [Haiku] #12295: Enhancement to the ahci driver

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Wed, 12 Aug 2015 21:00:01 -0000

#12295: Enhancement to the ahci driver
--------------------------------+----------------------------
Reporter: Anarchos | Owner: nobody
Type: enhancement | Status: new
Priority: low | Milestone: Unscheduled
Component: Drivers/Disk/ATA | Version: R1/Development
Resolution: | Keywords: ahci sata
Blocked By: | Blocking:
Has a Patch: 1 | Platform: All
--------------------------------+----------------------------

Comment (by pulkomandy):

The order of the fields in a bitfield is implementation defined, I don't
think it is a good idea to map them to the hardware this way.
This should use some endian-aware solution - we probably have macros
borrowed from FreeBSD to manage this somewhere.

I can't comment on the functional changes, since I don't know the ATA spec
much.

--
Ticket URL: <https://dev.haiku-os.org/ticket/12295#comment:6>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: