Stephan Aßmus
59062d32b7
HaikuDepot: Morestable layout in title ar
...
* Try to obtain a more stable layout in the title
area by forcing unlimited width and using weights.
2013-11-10 10:46:25 +01:00
Axel Dörfler
efc3172fba
ahci: Dump some TRIM device specifics.
...
* Maximum LBA range blocks per trim are now read, but not yet taken into
account.
* Minor cleanup.
2013-11-09 23:05:59 +01:00
Humdinger
61571fa66a
Added icons for HaikuDepot and HPKG archives.
...
Anyone feel free to come umoroe sphisticated ones. :)
2013-11-09 18:12:01 +01:00
Jérôme Duval
c5e233d388
usb: hub port reset is also done when the port status reset bit is zero.
...
* encountered on QEmu 1.6.50 with nec-usb-xhci and usb-storage devices.
2013-11-09 14:34:37 +01:00
Jérôme Duval
f559e51835
CID 991592 Uninitialized scalar variable
2013-11-09 13:55:57 +01:00
Jérôme Duval
7f0b39a791
CID 991479 Out-of-bounds access
2013-11-09 13:40:07 +01:00
Jérôme Duval
a0f124211a
scsi: define SCSI_DEVICE_MAX_LUN_COUNT to set a custom max lun count.
...
* virtio_scsi can have 16384 luns, though we cap at 256 as our scsi_ccb
only uses uchar as a type for target_lun and target_id members.
* minor code cleanup in scsi_scan_bus().
2013-11-09 13:09:20 +01:00
Jérôme Duval
1ab38414b1
CID 1108455 Structurally dead code
2013-11-09 13:09:16 +01:00
Jérôme Duval
21f7dc3d40
scsi: checks for B_OK instead of SCSI_REQ_CMP in scsi_scan_bus()
...
* scsi_scan_lun() actually returns a status_t
2013-11-09 13:09:16 +01:00
Jérôme Duval
ecadc4c696
CID 1108428 Uninitialized scalar field
2013-11-09 13:09:06 +01:00
Jérôme Duval
426c95e5b0
CID 1108333, 1108192, 1108443
...
* 1108333 Out-of-bounds access
* 1108192 Operands don't affect result
* 1108443 Uninitialized pointer field
2013-11-09 13:08:57 +01:00
Jérôme Duval
1149fa6ece
CID 1108447 Uninitialized scalar field
2013-11-09 13:08:48 +01:00
autonielx
b7f865a04d
Update translations from Pootle
2013-11-09 06:14:35 +01:00
John Scipione
0096a29e9c
Add BMenuField class documentation
2013-11-08 19:29:13 -05:00
John Scipione
d7d2ff5bde
Minor updates to the BMenu and BMenuBar classes.
...
Remove the reimplemented hook methods groups because some
hook methods are there, some are not, unfortunately doxygen can’t
tell if a hook method just calls the default or does something else and
we tend to include all the hook methods even if we don’t actually make
any functional changes to them making the docs a bit more verbose
than they otherwise would be.
2013-11-08 19:29:13 -05:00
John Scipione
a676c40c3e
Some minor updates to BControl docs.
2013-11-08 19:29:12 -05:00
John Scipione
8b4655091d
More minor updates to the BView docs.
2013-11-08 19:29:12 -05:00
Stefano Ceccherini
8897f2780d
NetworkStatus: Use the network API
...
Use the Network API instead of querying the net_stack via socket.
2013-11-08 23:26:26 +01:00
Jérôme Duval
fe2d4a0fa3
ac97: added a few codec ids.
...
* minor code cleanup
2013-11-08 19:01:31 +01:00
Jérôme Duval
4d9dca1905
hda: added a few quirks.
...
* trace the quirks along with codec ids.
2013-11-08 18:46:45 +01:00
waddlesplash
72dfdc7940
Set INLINE_INHERITED_MEMB to NO.
...
* "YES" causes all members of a class to be stuck in that class' page.
* No need to do that, there's a "List all members" page.
* This will make the docs a lot smaller and easier to read.
Signed-off-by: John Scipione <jscipione@gmail.com>
2013-11-07 17:18:54 -05:00
Axel Doerfler
0c873619ce
ahci: Fixed missing endian conversion.
...
* Spotted by Rene, thanks a lot!
2013-11-07 19:06:35 +01:00
Axel Dörfler
e6bde50a07
scsi_periph: use synchronous command.
...
* The call waited anyway, so there is no reason to make it async.
2013-11-07 19:06:24 +01:00
Axel Dörfler
547cd462f8
trim: Added is_called_via_syscall() function.
...
* And use it in get_trim_data_from_user(), formerly known as copy_*().
* This fixes differentiating between user and kernel buffers.
2013-11-07 19:06:13 +01:00
Axel Dörfler
79cb543ae0
ahci: Minor coding style cleanup.
...
* Renamed some methods to camel case.
* Replaced coding error panics with ASSERTs.
2013-11-07 19:06:04 +01:00
Axel Dörfler
dbeb6b56b4
ahci: Fixed braindead variable naming.
...
* Again, thanks Marcus!
2013-11-07 19:05:53 +01:00
Axel Doerfler
2e4e1eb2d9
ahci: fixed endless loop, and missing bit.
...
* The value for trim is bit 0, not 0; added sata_request::SetFeature()
to change this.
* The lba range fill loop never ended.
* Thanks to Marcus for proof-reading!
2013-11-07 19:05:41 +01:00
Axel Dörfler
930cb4206b
ahci: Minor cleanup.
2013-11-07 19:05:31 +01:00
Axel Dörfler
fd88486a31
ahci: Set the command bits as required.
...
* The trim command should be functional now, but it's completely untested
at this point.
2013-11-07 19:05:22 +01:00
Axel Dörfler
10deaef118
ahci: Added missing wait_for_completion().
...
* Thanks Marcus!
* That made the return code for ExecuteSataRequest() pretty much useless,
so I removed it again.
* Also, a delete sreq was missing; I now allocate it on the stack instead.
2013-11-07 19:05:04 +01:00
Axel Dörfler
e858a6b2a0
ahci: WIP of implementing trim command.
...
* Data Set Management specific bits are still missing.
2013-11-07 19:04:52 +01:00
Axel Dörfler
6317a4c399
scsi_periph: fixed copy&paste error in periph_trim_device().
2013-11-07 19:04:44 +01:00
Axel Dörfler
d82e6bcf6b
ahci: Use get_memory_map_etc().
...
* Simplifies code a bit.
2013-11-07 19:04:32 +01:00
Axel Dörfler
13e72c9a72
ahci: Minor cleanup.
...
* Mostly utilized ATACommands.h
2013-11-07 19:04:20 +01:00
Axel Dörfler
33945c5c89
ahci: Pushed TRIM support a tiny bit further.
...
* Now doesn't do anything on SCSI_OP_UNMAP, instead of doing nothing on
SCSI_OP_WRITE_SAME_16.
2013-11-07 19:03:55 +01:00
Axel Dörfler
99086aa323
trim: Target SCSI UNMAP command instead of WRITE SAME.
...
* The UNMAP command is theoretically much faster, as it can get many block
ranges instead of just a single range.
* Furthermore, the ATA TRIM command resembles it much better.
* Therefore, fs_trim_data now gets an array of ranges, and we use SCSI UNMAP
to trim.
* Updated BFS code to collect array ranges to fully support the new
fs_trim_data possibilities.
2013-11-07 19:03:47 +01:00
Axel Dörfler
960c56aea5
This gets the trim command as WRITE SAME operation to SCSI
...
* Neither hardware nor driver to test it; AHCI/IDE support is next
on the table.
2013-11-07 19:03:35 +01:00
Axel Dörfler
0a0ba4b5f0
Added B_TRIM_DEVICE support to BFS.
...
* It currently ignores the offset/size, though, and always trims everything.
* Now only SCSI support is missing.
2013-11-07 19:03:15 +01:00
Axel Dörfler
a352b43896
Added fstrim command.
...
Later, there should be a service that runs this from time to time for all
devices that support it.
Conflicts:
build/jam/HaikuImage
2013-11-07 19:02:53 +01:00
Axel Dörfler
29a8450843
Added B_TRIM_DEVICE ioctl.
2013-11-07 19:01:24 +01:00
John Scipione
34ce2cefc8
BMenuBar docs, silly mistake
2013-11-06 19:35:01 -05:00
John Scipione
ed7c19b5ef
Added BMenuBar docs.
2013-11-06 19:26:34 -05:00
John Scipione
ef92b3dd4c
BMenuBar: Update param names related to docs.
...
No functional change intended.
Renamed title => name in regular constructors,
No right or wrong here but consistant now.
Renamed data => archive in Achive constructor,
Ditto.
2013-11-06 19:26:19 -05:00
John Scipione
0d635255f5
Minor updates to BMenu docs.
...
Added an Archive() method description.
2013-11-06 19:23:48 -05:00
John Scipione
45e17d3d42
Update BView::DrawAfterChildren() param name
...
... from r to updateRect, no functional change intended.
Also a tiny change to the param description in the docs.
2013-11-06 13:14:53 -05:00
John Scipione
2f746eafdc
Add BMenu documentation
2013-11-06 12:21:58 -05:00
John Scipione
9a9ebda459
BMenu: Some style fixes related to docs
...
Mostly just making the variable names match between the
header and source.
No functional change intended.
2013-11-06 12:21:58 -05:00
John Scipione
45b87db2b7
A few minor updates to the BView docs
2013-11-06 12:21:57 -05:00
Jérôme Duval
a0fe2facbd
x86_64: added wlan drivers to the image.
2013-11-06 13:47:28 +01:00
Jérôme Duval
4089e1c1ca
FreeBSD compat layer: fixed bus_space_barrier for x86_64
2013-11-06 13:47:27 +01:00