Marcus Overhagen
0845746bf7
Cleanup, device present detection improved.
...
Added support for non-48-bit LBA, added write support.
Proper error handling still missing, write support disabled for your protection.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22376 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-29 17:11:24 +00:00
Stephan Aßmus
2a88281a61
* check for possible division by zero (just had a crash with divide error
...
on another machine, don't know if this was really the cause, but it should
be checked nevertheless I guess)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22373 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-29 14:06:19 +00:00
Axel Dörfler
ab88b095f2
* bfs_{read|write}_pages() now only try to lock - this fixes a possible
...
deadlock whenever someone without a lock (like the page_writer()) is calling
this function.
* Added a new ReadWriteLock::TryLock() method.
* Renamed bfs_read_vnode() and bfs_release_vnode() to bfs_get_vnode() and
bfs_put_vnode() just like those functions are called in fs_interface.h.
* Fixed a warning in BPlusTree::_SplitNode().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22372 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-29 14:06:04 +00:00
Marcus Overhagen
55d356bd98
check for device presence before executing commands
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22367 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-29 12:14:45 +00:00
Marcus Overhagen
21b4398f6a
don't set the "clear on RX_OK" bits
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22363 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-29 00:34:09 +00:00
Marcus Overhagen
f5ea6b32a5
added debugging code
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22362 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-29 00:23:21 +00:00
Marcus Overhagen
6b8c1c2ad7
improved prd table handling
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22361 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-29 00:22:19 +00:00
Marcus Overhagen
2bf99ebdee
Added byte swapping of identify device strings.
...
Added capacity reporting.
Wait for interrupts to finish transfers.
Added lba 48-bit read support.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22360 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-28 23:44:03 +00:00
Ingo Weinhold
2f6b4f3e1a
* When canonical input processing is enabled reads should only return
...
anything, if a line is available. Fixes bug #1483 .
* Replaced the request owner waiting semaphore by a condition variable
and removed the now no longer needed SemaphorePool.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22357 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-28 21:37:31 +00:00
Marcus Overhagen
ece77b379a
renamed SCSI_OP_TUR into SCSI_OP_TEST_UNIT_READY
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22356 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-28 21:30:53 +00:00
Marcus Overhagen
a79249de5b
add missing file
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22355 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-28 21:24:26 +00:00
Marcus Overhagen
2ae9d56421
added scatter gather prd table setup, implement scsi inquiry command and emulate test unit ready
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22354 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-28 21:22:25 +00:00
Marcus Overhagen
747c1927fd
removed conditional testing code
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22352 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-28 21:20:46 +00:00
Marcus Overhagen
91f867e016
added sg_memcpy to copy data into a scatter-gather table (inspired by IDE device manager)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22351 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-28 21:19:14 +00:00
Marcus Overhagen
8ce98e44cc
convert files to new include file locations
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22347 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-28 14:53:42 +00:00
Marcus Overhagen
a1a086067d
cleanup
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22346 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-28 14:52:11 +00:00
Marcus Overhagen
2745621c91
use defines from PCI.h
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22333 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-27 13:50:48 +00:00
Axel Dörfler
9ef250072b
* Don't use the private vm_map_physical_memory() but just
...
map_physical_memory().
* Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22330 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-27 12:45:11 +00:00
Marcus Overhagen
20c8bc80d5
The Jmicron AHCI controller on my machine is always in PATA emulation mode,
...
despite using the "AHCI native" setting in the BIOS.
Added switching to AHCI mode during init, this makes it work.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22322 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-26 18:55:29 +00:00
Marcus Overhagen
63f9ffef37
make sure PCI command register is setup correctly
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22321 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-26 18:09:42 +00:00
Axel Dörfler
e97e022aa7
* block_cache_set_dirty() was used incorrectly; I wonder why I write any
...
documentation... when you ask the block cache for a writable block, it's
automatically dirty.
* This fixes bug #1330 .
* Minor style cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22317 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-26 13:19:57 +00:00
Axel Dörfler
42cd7306a8
Renamed "dos" file system to "fat".
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22316 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-26 09:43:58 +00:00
Marcus Overhagen
4af29ec0bd
Implemented a identify device command for further testing, works on Intel, doesn't work on Jmicron.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22312 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-25 21:33:15 +00:00
Jérôme Duval
4d97d99317
changed pci to gPci, plus some clean
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22309 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-25 17:41:26 +00:00
Marcus Overhagen
2c76601709
Cleanup of hard reset, works on Intel, doesn't work on Jmicron.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22307 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-25 15:37:56 +00:00
Axel Dörfler
282c8843cd
Accidently left debug output turned on; also updated copyright year.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22305 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-25 14:16:18 +00:00
Axel Dörfler
eabbb1b365
* Implemented double click support in the USB HID driver - in the future, this
...
should really be moved into the input_server, though (BeOS does it in the
driver, too).
* Fixed warnings.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22301 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-25 12:43:34 +00:00
Jérôme Duval
57cba4584f
added null_audio driver from Bek, HOST team. Thanks.
...
Applied some style fixes.
It's not recognized as a fallback driver. We might also consider a simple userland BufferConsumer/BufferProducer.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22299 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-24 23:09:42 +00:00
Marcus Overhagen
c32beda5c4
start dma later, reduce timeouts
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22298 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-24 22:42:24 +00:00
Marcus Overhagen
fab4e5b126
oops
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22295 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-24 21:39:18 +00:00
Marcus Overhagen
de372c5c6b
wait for phy communication
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22294 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-24 21:38:21 +00:00
Marcus Overhagen
22cf14cfbe
perform port reset and wait for devices to be detected
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22293 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-24 21:32:32 +00:00
Marcus Overhagen
be30f13184
fixed wrong port definition
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22292 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-24 19:08:22 +00:00
Rudolf Cornelissen
f8863cf61d
added engine command fifo setup for TCL_PRIMITIVE_3D for NV15 only for now (testing). Over here the NV15 keeps running and the command seems responsive. I hope this doesn't crash other NV15's outthere.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22290 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-24 14:11:53 +00:00
Axel Dörfler
cbd4081064
* Fixed PLL timing computation for the i9xx chips - I mixed post2 min/max values, and did
...
not take the VCO limits into account; both could (and would during testing) create invalid
frequencies.
* Also reverted the order in which the PLL divisors are traversed to match the order of what
is used in the X driver to create comparable output (our error computation is based on float,
though, and should therefore create more accurate values).
* The i965 introduced a special register for the surface; the former display base register
is now only used for the view offset. Instead of setting the base manually here and there,
there is now a set_frame_buffer_base() function.
* The DPMS code will now also turn off/on the PLL clock generator.
* The code needs some more cleanup, and while the driver now produces the correct timing on
my i965 system, I'm now greeted by a black screen after startup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22289 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-24 09:02:35 +00:00
Jérôme Duval
c8d47dfec3
added some other ids for HP laptops with Headphone jack sense quirk
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22285 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-23 21:52:54 +00:00
Jérôme Duval
8d93a4beb1
patch from Hüseyin Erdemir: his laptops HP nx8220 didn't have Headphone Jacksense working as is. Thanks!
...
Some other HP laptops have this problem.
Maybe we should have ac97 export quirks and the driver uses them.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22284 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-23 20:57:00 +00:00
Marcus Overhagen
8961bec039
try to activate link and spin up the device
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22280 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-23 09:24:06 +00:00
Marcus Overhagen
cb8be29457
Start and stop DMA engine and FIS receive, enable port interrupts.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22278 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-22 23:43:25 +00:00
Marcus Overhagen
c542d2bbf1
Fixed memory allocation and field alignment.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22277 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-22 22:09:58 +00:00
Axel Dörfler
523a30f313
Implemented I2C support to get the DDC EDID info from the monitor - it's working as is, but
...
nothing is done with the data yet (besides dumping them to the serial output).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22272 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-21 18:06:56 +00:00
Axel Dörfler
fd7e4cc333
Made providing a place for vdif and vdifLength optional in ddc2_read_edid1().
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22270 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-21 16:59:43 +00:00
Axel Dörfler
93a1ccabb9
* Separated I2C from DDC a bit more.
...
* i2c_bus now contains a i2c_timing structure, so that you don't need
both to talk to the I2C bus.
* Therefore, there is now a void ddc2_init_timing() function to get the
the timing DDC needs.
* Cleanup in radeon's monitor_detection.c, and updated it to work with
the DDC/I2C changes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22265 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-19 22:36:55 +00:00
Jérôme Duval
1d54a24d4d
correctly release resources on error in init, or on uninit
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22263 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-19 22:14:21 +00:00
Jérôme Duval
d46597c7f2
correctly release resources on error in init, or on uninit
...
checks if pci module is present
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22262 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-19 22:07:13 +00:00
Jérôme Duval
595998812e
clean up
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22261 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-19 21:47:00 +00:00
Jérôme Duval
696eddc837
free ressources on error or uninit
...
for vmware, actually checks if the device was found
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22260 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-19 21:46:08 +00:00
Jérôme Duval
5d7f50f66c
put modules on error
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22259 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-19 21:44:40 +00:00
Jérôme Duval
ef317e11d4
style fix
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22258 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-19 21:43:42 +00:00
Marcus Overhagen
633990282e
Setup command list, command table, FIS and PRDT pointers.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22257 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-19 20:21:31 +00:00
Axel Dörfler
61dad86a02
* No longer switch between divisor register set 0 and 1; it doesn't really
...
make any sense.
* "pll" might have been set incorrectly on i8xx chips.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22253 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-19 15:07:58 +00:00
Rudolf Cornelissen
46189f70a9
changed listing order of two recently added cards for me to keep oversight. No functional change.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22252 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-19 07:16:07 +00:00
Jérôme Duval
d2fa634c8a
clean up
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22249 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-18 19:54:12 +00:00
Jérôme Duval
15a2aa6842
clean up
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22248 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-18 19:51:27 +00:00
Jérôme Duval
ce1e9a2d44
remove executable bit on test.c
...
clean up poke.c
don't need to check the module in uninit_driver()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22247 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-18 19:40:32 +00:00
Jérôme Duval
b76d376bab
release modules on error in init_driver()
...
free devices pointer in uninit_driver()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22246 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-18 19:30:20 +00:00
Jérôme Duval
3ba665ca69
destroy benaphore lock on error in init_driver()
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22245 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-18 19:25:59 +00:00
Rudolf Cornelissen
a9a35a3919
fixed shared_info problem occuring with the 3D accelerant: updated docs, bumped version to 0.82
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22243 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-18 19:22:08 +00:00
Rudolf Cornelissen
36d218b7c7
fixed shared_info problem occuring with the 3D accelerant: the TVencoder list definition is now outside of the definition of shared_info.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22242 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-18 19:21:36 +00:00
Jérôme Duval
15f309e265
release module on error in init_driver()
...
free devices pointer in uninit_driver()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22241 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-18 19:17:13 +00:00
Marcus Overhagen
9382f57691
correct port number handling
...
allocate memory for command list and fis
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22221 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-11 22:09:13 +00:00
Jérôme Duval
9727f39c82
added the pci id for GeForce 6100 nForce 405, bug #1472
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22219 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-11 16:43:49 +00:00
Jérôme Duval
98b6decb77
renamed via.driver to via
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22217 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-10 19:32:34 +00:00
Ingo Weinhold
8a10c0b5a7
Changes in BPlusTree::_SplitNode():
...
* Added check for invalid keyIndex parameter.
* Removed superfluous break condition in the second loop.
* Increment "out" in the second loop only when we have processed a key
that will end up in the node. Thus, after the loop, the variable will
contain the numbers of keys to be copied/moved, not that number + 1.
Adjusted later use of "out" accordingly, save in one place where it
was used incorrectly, which resulted in one key length and value to
many to be copied, thus occasionally causing a page fault (bug #1363 ).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22195 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-06 21:04:13 +00:00
Jérôme Duval
759833c921
patch from JiSheng: fixed usage for option -M, added examples for testing
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22194 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-06 18:12:33 +00:00
Ingo Weinhold
923efaa872
* We store the ID of the controlling terminal and the foreground process
...
group ID with the session and let the terminal update them.
* Added an "orphaned" flag to the process_group structure and code to
maintain it.
* Handle the death of a controlling process correctly: The
foreground process group gets a SIGHUP and all newly-orphaned process
groups containing at least one stopped processes are sent
SIGHUP+SIGCONT.
* The tty handles the O_NOCTTY flag correctly, now.
* The tty handles reads/writes from processes from other sessions
correctly, now.
* Handle tcsetpgrp() from background processes correctly.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22187 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-06 02:16:25 +00:00
Ingo Weinhold
97d5bb2bf3
Disabled the attribute name checks for "name", "size", and
...
"last_modified" for the time being. BeOS allows creating and reading
attributes with those names.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22180 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-05 03:07:40 +00:00
Jérôme Duval
c4ec032d19
ooops it was le32toh
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22160 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-03 20:59:02 +00:00
Jérôme Duval
9b17641496
missing le32toh()
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22158 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-03 19:52:44 +00:00
Marcus Overhagen
23c7bf9da2
enable interrupts
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22147 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-01 20:49:07 +00:00
Marcus Overhagen
25f926d8e4
forward scsi request to the ports
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22146 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-01 20:26:07 +00:00
Marcus Overhagen
4f733fe93b
added Interrupt handling framework
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22145 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-01 19:54:45 +00:00
Marcus Overhagen
3d41648479
implemented controller reset and AHCI enable, init a port object for each implemented device port
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22144 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-01 18:51:57 +00:00
Marcus Overhagen
9815383e54
a class for the SATA ports
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22143 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-01 18:51:03 +00:00
Marcus Overhagen
105f622310
print proper values for zero-based numbers
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22141 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-01 16:52:46 +00:00
Marcus Overhagen
093a713df2
map registers and print some information
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22137 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-01 14:29:10 +00:00
Marcus Overhagen
1a941c2e04
added more definitions from specification
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22136 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-01 14:28:47 +00:00
Marcus Overhagen
06c88385e8
copied
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22133 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-01 12:40:39 +00:00
Jérôme Duval
0735851ca7
readme for firewire from JiSheng
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22131 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-31 18:21:34 +00:00
Jérôme Duval
afa1b9a59c
added fwcontrol and firewire to the build
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22125 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-30 22:02:34 +00:00
Jérôme Duval
bb5ea4eb08
work from JiSheng Zhang : firewire and ohci modules from FreeBSD current, update for fw_raw and fw_control. Thanks!
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22124 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-30 21:59:49 +00:00
François Revol
60e8637484
Should help building in zeta.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22109 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-29 12:37:12 +00:00
François Revol
8cfb4e2c76
Add opensound media node to the build
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22108 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-29 12:33:41 +00:00
François Revol
de6be214a0
OpenSound System media node, current version.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22106 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-29 12:28:49 +00:00
Marcus Overhagen
036a8857a6
added a workaround to prevent loading the driver multiple times for the same device
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22099 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-28 21:10:39 +00:00
François Revol
11902c74d8
Fix warnings
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22096 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-28 17:37:15 +00:00
Marcus Overhagen
5461952df6
improved debug output
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22085 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-27 22:02:28 +00:00
Axel Dörfler
4f6fa362cf
* Fixed driver initialization - you are supposed to call init_driver()
...
and uninit_driver() yourself. We're also using this to let the controller
access the pci_device object.
* Fixed some style violations for your pleasure ;-)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22082 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-27 09:36:35 +00:00
Marcus Overhagen
fc002ebb35
print PCI vendor and device ID
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22079 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-26 21:26:16 +00:00
Marcus Overhagen
e63ca93e6a
compile fix for gcc 2.95
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22078 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-26 21:19:52 +00:00
Jérôme Duval
183bd9f434
black on black isn't easy to read : it's better to switch to the default color
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22077 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-26 20:54:48 +00:00
Marcus Overhagen
83a2d4db1a
make sure the request failes
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22076 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-26 20:53:35 +00:00
Marcus Overhagen
48a55608e6
added a completely broken way to get the pci_device
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22075 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-26 20:45:59 +00:00
Marcus Overhagen
9f8f7442f3
pci_device can't be made static, it identifies the individual controller PCI device
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22073 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-26 20:28:30 +00:00
Marcus Overhagen
a53e060c17
set scsi target id maximum to 33 (32 devices + controller) for ahci controller
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22072 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-26 19:59:12 +00:00
Marcus Overhagen
402a4a4e7b
Set scsi target id limit to 16, was previously hardcoded to 2. Add a node attribute to allow overriding this value.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22071 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-26 19:57:51 +00:00
Marcus Overhagen
ddf188703a
Moved PCI access code, but the compiler refuses to convert 'device_node_info*' to 'pci_device_info*' in argument passing...
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22070 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-26 19:19:57 +00:00
Marcus Overhagen
21255d1fc7
moved controller specific functionality into it's own class
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22069 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-26 19:06:14 +00:00
Marcus Overhagen
2210148f94
compile the sim as C++
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22068 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-26 16:57:31 +00:00
Marcus Overhagen
64ceb67ba3
even more debugging
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22066 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-26 16:49:53 +00:00