Marcus Overhagen
6cb28af8fd
Remove unsave usage of strncpy.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42455 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-19 20:54:21 +00:00
Marcus Overhagen
c80809a3ab
This should fix crashes due to bad initialization. Completely untested. Might help with ticket #3241
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42453 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-19 18:14:29 +00:00
Marcus Overhagen
27d38ee976
Drop into debugger if the looper can't be locked.
...
This gets triggered randomly by net_server.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39934 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-24 02:41:08 +00:00
Marcus Overhagen
1550ecf11a
The IN_CLASS* macros use host byte order.
...
This fixes netmask and broadcast ip for PXE booting.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39928 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-24 00:32:19 +00:00
Marcus Overhagen
84011d2394
data should be const
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39927 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-23 22:54:50 +00:00
Marcus Overhagen
d398717e6d
The reference should be const
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39926 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-23 22:54:09 +00:00
Marcus Overhagen
699dc0e367
Very ugly hack to make DVB addon find the MPEG and AC3 codecs.
...
Something appeards to be very wrong with codec registration.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39885 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-17 23:17:21 +00:00
Marcus Overhagen
4da4784afa
added come debugging code
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39884 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-17 22:35:44 +00:00
Marcus Overhagen
bcdc4db3e5
adjust file path to channel setting files
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39883 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-17 21:54:53 +00:00
Marcus Overhagen
df4948df6a
Copy the DVB channel setting files to target image.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39882 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-17 21:54:06 +00:00
Marcus Overhagen
f9e04ff0e1
This removes pxe_stage1.S and thus also removes the build target "pxehaiku".
...
In r21611, about 3 years ago, the switch into protected mode was moved
from stage1 to stage2, which makes stage1 obsolete. You have to use
"pxehaiku-loader" when booting Haiku by PXE on x86.
Trying to use stage1 to boot stage2 resulted in tripple fault during
setup of ss segment, because stage1 switches to protected mode before
calling stage2, but stage2 expects real mode. The documentation is not
up to date.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39881 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-17 17:53:29 +00:00
Marcus Overhagen
1719e941ff
Fixed build for ATA_DMA_TRACING enabled.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39856 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-15 22:30:12 +00:00
Marcus Overhagen
2ca5f51b08
Fix for ticket #4543 . This fixes the ATA
...
timeout waiting for interrupt / device busy / status 0x58
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33626 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-17 20:19:02 +00:00
Marcus Overhagen
87b68ba08f
cleanup
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33045 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-10 21:57:20 +00:00
Marcus Overhagen
2219c13eec
cleanup, remove color codes
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33044 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-10 21:56:46 +00:00
Marcus Overhagen
b5eb03683b
cleanup
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33043 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-10 21:55:10 +00:00
Marcus Overhagen
a479459113
Write device identification into syslog.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33042 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-10 21:11:36 +00:00
Marcus Overhagen
81f9115df0
added tracing of ATA DMA transfers
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33040 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-10 19:07:40 +00:00
Marcus Overhagen
3c13be106e
Clear pending interrupts after reset and timeouts
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33039 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-10 19:03:55 +00:00
Marcus Overhagen
ed20dd306d
interrupt debugging instrumentation for bug hunting.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33010 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-08 21:27:04 +00:00
Marcus Overhagen
501ba96759
remove color usage from debug output
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33004 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-08 20:34:01 +00:00
Marcus Overhagen
f4f2f6f565
Add more debug code. I see spurius device selection timeouts.
...
When this happens, no recovery is possible right now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32989 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-07 23:52:58 +00:00
Marcus Overhagen
c43d83c81a
Use kernel tracing for debugging output.
...
Fix interrupt handling for bus master DMA.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32988 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-07 23:41:53 +00:00
Marcus Overhagen
5987738cbe
Faster bus scan by reusing device presence information that is available before
...
resetting the bus. This allows to skip devices that are not present. Works for
most but not all devices. Sometimes device 0 pretends that a device 1 exists,
but it's usefull anyway.
Allow working device 1 only configurations by not selecting device 0 anymore
for identification. Moved indentification from Reset into BusScan to do everything
in a single step. A SATA emulation in combined mode might have a slave (device 1)
only configuration when only one device is connected, depending on the port.
Also tested with PATA.
Recovery for lost interrupts. Works but is dead slow because of the timeout.
Bus reset isn't possible anymore, this needs to be implemented in a save way.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32978 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-07 00:58:31 +00:00
Marcus Overhagen
ab9074ffa5
This should fix interrupt timeouts when using DMA mode.
...
Also ignore simplex bit for Intel controllers, and use
DMA for both channels.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32977 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-07 00:46:02 +00:00
Marcus Overhagen
9781bd2e09
Enable busmaserting ans io decoder if not already done by the BIOS.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32878 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-31 23:25:35 +00:00
Marcus Overhagen
5a5f7ad65e
Modified bus mastering enable code, but remains disabled because it crashes.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32877 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-31 22:43:10 +00:00
Marcus Overhagen
d196ea6045
rename PCI-IDE into PCI-ATA
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32876 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-31 22:40:33 +00:00
Marcus Overhagen
a26bf7958f
truncate strings to allow building the debug version
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32837 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-30 15:04:04 +00:00
Marcus Overhagen
547b151fa2
Fix data direction flag (using 0 was invalid) for prevent_allow command.
...
This fixes ticket #4379 , panic on eject.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32833 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-30 14:12:03 +00:00
Marcus Overhagen
781aa0f579
Fix bug introduced in r32679. The dirent buffer was to short.
...
This fixes ticket #4362 and probably also #4360 and #4370
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32817 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-29 17:41:42 +00:00
Marcus Overhagen
398211a6d9
Modified initial ata device detection. Works for me. Please test.
...
If you get an "error waiting for interrupt" during boot, try to disabled IDE DMA.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32769 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-27 23:05:18 +00:00
Marcus Overhagen
35d0af4fa0
Note: To use the ATA stack, modify build/jam/HaikuImage to include
...
ata and ata_adapter instead of ide and ide_adapter, and also edit
add-ons/kernel/busses/Jamfile to subinclude ata instead of ide.
(This commit adds ata_adapter to the build, not to the image)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30494 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-29 21:24:14 +00:00
Marcus Overhagen
730e6467fe
modified interrupt handling to fit ata_adapter
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30493 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-29 21:16:18 +00:00
Marcus Overhagen
388243cc43
prepare for ata
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30492 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-29 20:24:40 +00:00
Marcus Overhagen
8f859074b2
cleanup, remove ide only code from ata_adapter.c
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30491 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-29 20:22:54 +00:00
Marcus Overhagen
d3b6c809b1
cleanup
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30489 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-29 20:20:04 +00:00
Marcus Overhagen
d81979f249
it's probably cleaner to have a separate directory as well
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30488 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-29 20:14:22 +00:00
Marcus Overhagen
11bb2f6cac
adjust jamfiles
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30487 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-29 20:04:47 +00:00
Marcus Overhagen
587382f9d6
Copy ide busses into new ata busses folder, so they can be modified without breaking ide.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30486 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-29 20:01:38 +00:00
Marcus Overhagen
58f0d01b6d
revert to r28339
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30485 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-29 19:51:29 +00:00
Marcus Overhagen
53c0d2bd6c
copied from ide_adapter.c
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30484 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-29 19:40:53 +00:00
Marcus Overhagen
34d49541b0
!!! To use with the ATA stack, change #define ATA_STACK from 0 to 1 !!!
...
Adapted to new ata stack. Works now. Hopefully useable with ide stack, too.
Modified to fix the DMA problem introduced with the last change.
Since the interrupt is already cleared in the interrupt handler,
we can no longer test the interrupt bit in finish_dma().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30475 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-27 22:13:05 +00:00
Marcus Overhagen
ca2a912bc9
Workaround for Gigabyte i-RAM, which always reports 0x00 as error code after bus reset,
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30474 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-27 22:09:31 +00:00
Marcus Overhagen
e0b95e98eb
ATA/ATAPI Host Adapters Standard T13/1510D revision 1, page 14
...
Bus Master ATA Status Register, bit 2:
> NOTE - even if the device status is read, causing the device
> to deassert INTRQ, this bit shall be cleared as well.
Clearing this bit fixes DMA transfers for me.
Those didn't work because ICH9 ATA controller in
PCI native mode wouldn't stop firing interrupts
without explicit clearing, despite device status
read.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30454 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-27 00:54:00 +00:00
Marcus Overhagen
42da6c963c
Spelling fix. Reported by karlvd. Thanks.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30445 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-26 21:31:48 +00:00
Marcus Overhagen
4a2e45ea36
According to ATA-4 specification, the error and device-fault
...
bit (and all other status register bits) are only valid when
the busy bit is zero. This makes PIO mode work on a WD Raptor.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30443 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-26 21:02:16 +00:00
Marcus Overhagen
5bfd73fb71
Make debugging easier by tracing only status changes.
...
Always first disable interrupts on a device that can be
selected, then check for invalid status.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30426 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-26 12:55:52 +00:00
Marcus Overhagen
1b65b57dd5
Fix tracing and improve memory usage. Thanks to Ingo for his hints.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27289 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-02 20:04:27 +00:00
Marcus Overhagen
935ebe7840
Use kernel tracing feature. Doesn't seem to work, don't know why.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27282 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-01 21:26:46 +00:00
Marcus Overhagen
24bc53c351
ATA kernel tracing functions.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27281 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-01 21:25:44 +00:00
Marcus Overhagen
5b3feb866e
Preparing support for ATA and ATAPI tracing
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27273 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-01 19:44:27 +00:00
Marcus Overhagen
1d19f96fff
Removed my Copyright notice, assign future copyright to Haiku Inc, in contribution to ticket #2191
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27068 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-08-19 19:28:41 +00:00
Marcus Overhagen
0cd4d5fa02
Report SCSI_STATUS_GOOD after successful ATAPI commands. This makes CDDA-fs work with AHCI.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26332 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-07-08 22:39:03 +00:00
Marcus Overhagen
d7c321236f
Set transfer length when doing ATAPI transfers.
...
Dump ATAPI command packet on error.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26205 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-07-01 22:04:33 +00:00
Marcus Overhagen
d53ddcce75
Provide better sense data. Turn off auto-sense
...
for ATAPI, as we can't report anything.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25653 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-05-24 23:08:11 +00:00
Marcus Overhagen
205acfb4dc
first attempt to report sense data
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25652 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-05-24 22:34:40 +00:00
Marcus Overhagen
ad36dc4f21
Set the correct SCSI data direction mask.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25651 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-05-24 21:46:30 +00:00
Marcus Overhagen
b54c709405
Use scsi direction mask to determine if the command to execute is a write,
...
instead of checking every single command.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25650 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-05-24 21:27:44 +00:00
Marcus Overhagen
ec5161c7b2
add more error handling
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25649 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-05-24 20:40:32 +00:00
Marcus Overhagen
88bd06fbc7
Separate port and device reset. Only perform device reset during error handling if the device is busy.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25648 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-05-24 20:35:22 +00:00
Marcus Overhagen
c3342cf811
added simple error handling
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25647 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-05-24 19:17:17 +00:00
Marcus Overhagen
4f04d37ff3
Applied patch2 from bug #2243 for further testing.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25635 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-05-24 14:15:13 +00:00
Marcus Overhagen
33e9755153
Small cleanup of ahci driver. Also clear the PCI interrupt disable bit during setup.
...
Add PCI command ID (interrupt disable) define to PCI.h
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25634 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-05-24 13:40:58 +00:00
Marcus Overhagen
4738637486
The AHCI controller doesn't natively support ATAPI commands.
...
Instead, one needs to execute the ATA command 0xa0 (PACKET) using
a normal ATA PIO FIS and in addition fill the SCSI CDB into the ACMD
space to transfer the ATAPI PACKET command.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25597 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-05-21 22:14:39 +00:00
Marcus Overhagen
fd735f9bb0
More preparation for sending ATAPI PACKET commands (pass through of SCSI commands).
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25585 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-05-20 21:48:18 +00:00
Marcus Overhagen
c940faf16a
disable "identify device" debug output
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25581 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-05-20 20:40:02 +00:00
Marcus Overhagen
6e251c6604
moved tracing into it's own header
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25579 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-05-20 20:37:44 +00:00
Marcus Overhagen
17321b91fb
move kernel tracing to separate file
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25577 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-05-20 20:31:09 +00:00
Marcus Overhagen
5d92f82a94
Begin ATAPI support. The scsi_cd driver already tries opening the device.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25576 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-05-20 20:30:06 +00:00
Marcus Overhagen
9cb5c9bf8f
Fix the HI32 macro. This fixes bug #2021 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25557 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-05-18 23:31:47 +00:00
Marcus Overhagen
11a1e0e580
Trace address of prd table.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25553 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-05-18 22:42:04 +00:00
Marcus Overhagen
ce45f42218
nicer formatting of the output
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25552 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-05-18 21:59:32 +00:00
Marcus Overhagen
694c3b75f4
fix bridge control register size
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25551 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-05-18 21:21:39 +00:00
Marcus Overhagen
63f68729a8
Configure all PCI-PCI bridges to report errors rather than masquerade
...
them, which would lead to undetected data corruption.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25550 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-05-18 21:17:29 +00:00
Marcus Overhagen
1eace5fc53
fixed typo again ;)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25548 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-05-18 20:59:14 +00:00
Marcus Overhagen
be121a1c53
fixed typo
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25547 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-05-18 20:57:49 +00:00
Marcus Overhagen
f5831806ff
Added a "pcistatus" command to KDL that prints and clears the PCI device status register.
...
Also clear the status register during init.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25523 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-05-16 22:17:21 +00:00
Marcus Overhagen
ca978b6ed8
make memory map printing independant of other mmu debug output
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25306 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-05-04 01:20:22 +00:00
Marcus Overhagen
bcf291ed9b
Removed superflous NULL pointer checks.
...
The media kit will always call BMediaNode
and BMediaAddOn functions with valid pointers.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25232 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-04-28 22:13:36 +00:00
Marcus Overhagen
5b330b7af6
fix build
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25231 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-04-28 22:01:18 +00:00
Marcus Overhagen
b90d663d10
This fixes scroll wheel support, as reported in bug #1625 .
...
PS/2 supports vertical scrolling only for now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25230 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-04-28 21:23:41 +00:00
Marcus Overhagen
4ca14fe1a6
Fixed harmless copy & paste bug.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24382 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-12 23:19:52 +00:00
Marcus Overhagen
eb5b2f6fde
Removed a lot of unsave memory handling.
...
Check for memory allocation errors.
Added limit to maximum flavor format count (300).
No longer crashes when out_format_count is invalid for B_BUFFER_CONSUMER,
or in_format_count is invalid for B_BUFFER_PRODUCER.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24366 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-11 23:24:40 +00:00
Marcus Overhagen
47b63fed56
Changed license from GPL to MIT. I'm the sole author of this code.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24197 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-02 02:57:28 +00:00
Marcus Overhagen
18c2aaaea2
Changed the license from GPL to MIT on request by Maurice. I'm the sole author of this code.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24195 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-01 22:33:37 +00:00
Marcus Overhagen
08c01f715f
gcc4 build fix
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23992 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-17 19:18:31 +00:00
Marcus Overhagen
b91371e409
gcc4 build fix
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23991 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-17 19:14:50 +00:00
Marcus Overhagen
4af8877673
build fix for r23929
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23982 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-17 14:59:52 +00:00
Marcus Overhagen
6af5db20f4
Reuse virtual bus numbers when a mapping already exists.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23981 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-17 14:44:33 +00:00
Marcus Overhagen
bc3318b640
Rewrote mapping of domains and busses into a virtual bus number to
...
allow arbitrary bus numbers. Disabled domain support for __INTEL__.
This should fix bug #1774
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23944 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-10 23:39:35 +00:00
Marcus Overhagen
05b79eadff
Removed the no longer needed debug code.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23900 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-06 22:08:25 +00:00
Marcus Overhagen
3cad4dae71
Print ids in decimal.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23780 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-28 23:19:54 +00:00
Marcus Overhagen
7694461ea6
Use decimal for thread ids.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23779 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-28 22:58:02 +00:00
Marcus Overhagen
c486dde9d6
cosmetic
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23778 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-28 22:48:56 +00:00
Marcus Overhagen
fad02fc2ac
Print thread ids in decimal.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23777 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-28 22:43:22 +00:00
Marcus Overhagen
c4bf6940f5
Fixed timeouts, they were too small.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23485 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-13 12:02:13 +00:00
Marcus Overhagen
df0e96bcef
fixed a crash during device identification
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23482 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-13 09:41:40 +00:00
Marcus Overhagen
a5ec34950d
Allow ata_request_set_sense and ata_request_set_status to be called with NULL request pointer.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23478 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-13 02:42:19 +00:00
Marcus Overhagen
02193d0df5
improved timeout handling
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23475 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-13 01:54:08 +00:00