History log of /haiku/src/add-ons/kernel/generic/ata_adapter/ata_adapter.cpp
Revision Date Author Comments
# 215b685f 11-Dec-2022 X512 <danger_mail@list.ru>

kernel: Drop non-standard GNU inline assignment syntax

* We needed this previously due to our gcc2 compiled kernel.
* Now that our kernel is always latest gcc, we can move to the
c++20 syntax for inline assignment.
* Improves compatibility with clang, less GNU-specific stuff

Change-Id: Ib7272a0a52554a31e9a0e788fd3f031db9049795
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5898
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>


# 956f4507 22-May-2022 Trung Nguyen <trungnt282910@gmail.com>

kernel/vm: Remove default kernel read/write flags

`fix_protection` will not apply `B_KERNEL_READ_AREA` and
`B_KERNEL_WRITE_AREA` by default.

Kernel drivers that directly call `create_area` or `create_area_etc`
and do not pass any protection flags have been updated to
apply `B_KERNEL_READ_AREA | B_KERNEL_WRITE_AREA` instead.

Bug: #17751
Change-Id: I43e7ee6b5396e0309cdcff750e28262942c6d01c
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5330
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# e96fd793 21-Nov-2017 François Revol <revol@free.fr>

ata_adapter: Remove bad casts for ram_address()

We now accept and return a phys_addr_t as we ought to.


# e4e1cf9a 28-Nov-2013 Jérôme Duval <jerome.duval@gmail.com>

PCI: moved IDE api flags to PCI.h


# 3746e834 28-Nov-2013 Jérôme Duval <jerome.duval@gmail.com>

ata_adapter: check the secondary flag for the 2nd channel.

* ide_adapter: likewise.


# 0063d2ba 20-Jul-2012 Alex Smith <alex@alex-smith.me.uk>

Various 64-bit fixes to SCSI and ATA bus managers/drivers.

Mostly compilation fixes, as well as a few 64-bit safety fixes. I've
briefly looked through everything for any obvious issues and fixed
the ones I've found, and it seems like they're working properly, though
there could be some more well hidden ones that I've missed.


# 6b8f2146 08-Sep-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

* change c to cpp to resolve C89/C99 issue. (thanks Deadyak!)
* changing to cpp uncovered a few bugs in ide_adaptor
* correct losing signed integer
* correct a variable name that conflicted with a type
* gcc2 build now fixed after r42724


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42725 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e4e1cf9aff955941d57df527121b9bf34b2712b8 28-Nov-2013 Jérôme Duval <jerome.duval@gmail.com>

PCI: moved IDE api flags to PCI.h


# 3746e83482816099ffd3ef4637b3fdb2712d54bf 28-Nov-2013 Jérôme Duval <jerome.duval@gmail.com>

ata_adapter: check the secondary flag for the 2nd channel.

* ide_adapter: likewise.


# 0063d2ba513ddb6bd54c329aa0d16c7e184862da 20-Jul-2012 Alex Smith <alex@alex-smith.me.uk>

Various 64-bit fixes to SCSI and ATA bus managers/drivers.

Mostly compilation fixes, as well as a few 64-bit safety fixes. I've
briefly looked through everything for any obvious issues and fixed
the ones I've found, and it seems like they're working properly, though
there could be some more well hidden ones that I've missed.


# 6b8f21461e9f89bab101975a57d5475d19e91062 08-Sep-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

* change c to cpp to resolve C89/C99 issue. (thanks Deadyak!)
* changing to cpp uncovered a few bugs in ide_adaptor
* correct losing signed integer
* correct a variable name that conflicted with a type
* gcc2 build now fixed after r42724


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42725 a95241bf-73f2-0310-859d-f6bbb57e9c96