Siarzhuk Zharski
2fa85815f6
Bringing FreeBSD driver to trunk as vt612x.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34607 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-09 20:00:05 +00:00
Clemens Zeidler
5237897801
Check if we have 64 or 32 bit.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34598 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-09 17:49:20 +00:00
Clemens Zeidler
3875331b37
As suggested by Ingo use the normal mutex_lock function in case of ACPI_WAIT_FOREVER.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34595 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-09 17:14:14 +00:00
Colin Günther
ac3566cd6a
Adding dependency on kernel_c++_structs.h on the driver, which are using
...
sys/condvar.h and as such the kernel_c++_structs.h file in their souces.
As Ingo pointed out when introducing the "C++ structs in C only code" feature,
this dependency needs to be put on every target that includes
kernel_c++_structs.h directly and indirectly.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34586 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-09 12:38:49 +00:00
François Revol
94a6d7ada8
Work-in-progress BeOS hack allow loading with either the R5 or BONE tty manager, due to using the same version and incompatible module hooks we must detect it at runtime to avoid crashing.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34576 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-08 23:51:23 +00:00
François Revol
50015543bb
Change dprintfs to TRACE(), and make always on tracing less verbose.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34571 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-08 23:00:32 +00:00
Jérôme Duval
a9bff40a89
It seems the codec GPIO count isn't usable for quirks, ie the GPIO count is zero on the Macbook
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34570 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-08 22:31:30 +00:00
Clemens Zeidler
f0ab4adfc9
We now also use a mutex in acpi. Thanks Ingo for the mutex timeout function.
...
This fix some warnings mentioned in #4722 .
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34563 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-08 18:25:11 +00:00
Colin Günther
2166eec15c
* Removing some targets which where usefull when atheros driver was distributed
...
outside of Haiku's repository, only.
* Also this fixes the build break that arose when the Haiku repo was checked
out with something different than svn (git for example:), due to a hardcoded
reference to the svn entries file.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34529 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-06 21:21:17 +00:00
Colin Günther
bc69c291c2
Recopying ralinkwifi from vendor/freebsd/RELEASE_8_0_0 and made it compiling
...
well. This approach was taken to ensure that the version information propagates
correctly to the repository mirrors.
See comment from nielsx on this topic here: http://www.freelists.org/post/haiku-commits/r34507-in-haikutrunksrcaddonskerneldriversnetworkwlan-ralinkwifi-ralinkwifidev-ralinkwifidevral,3
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34519 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-06 11:48:33 +00:00
Colin Günther
05d66b370a
Removing the ralinkwifi, for readding it with correct version information the
...
next time.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34518 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-06 11:40:16 +00:00
Colin Günther
a3915b9de0
Copied marvell88w8335 driver from vender/freebsd/RELEASE_8_0_0 and made it
...
compiling fine. So linking still needs to be worked on.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34517 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-06 11:17:50 +00:00
Colin Günther
7bb39c3df3
Adding ralinkwifi driver. This driver compiles, only, as there is a glue.c
...
is missing atm. If someone wanne add it go ahead.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34507 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-05 14:24:30 +00:00
Colin Günther
afa6c0001b
This driver needs a swi taskqueue
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34506 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-05 14:06:45 +00:00
Colin Günther
21e74f0305
Whitespace cleanup. No functional change.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34503 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-05 12:05:37 +00:00
Colin Günther
75b5fa6bd6
Relaxing handling of compilation warnings, so that driver compiles with gcc4,
...
too.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34488 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-04 12:13:11 +00:00
Axel Dörfler
82aa4a0f4e
* Replaced the remaining AF_DLI references with AF_LINK.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34487 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-04 09:34:35 +00:00
Jérôme Duval
6a2a59e1fa
Patch from Krzysiek Cwiertnia: Enable headphone jack sense for HP NC 40xx notebooks.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34485 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-03 23:04:02 +00:00
Jérôme Duval
3f8db22c66
Patch by Krzysiek Cwiertnia: Switch to use ac97 common code.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34484 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-03 23:02:46 +00:00
Colin Günther
1e685f7fea
Renaming to full vendor name, as there is practically no restriction on the
...
length of driver names.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34483 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-03 22:25:45 +00:00
Colin Günther
7a5b341ad8
* Driver marv88w8363 now links. Can't test it as I don't own this hardware.
...
* Firmware is needed:
a) Download the firmware files from FreeBSD 8
here http://svn.freebsd.org/viewvc/base/release/8.0.0/sys/contrib/dev/mwl/mw88W8363.fw.uu?view=log
and here http://svn.freebsd.org/viewvc/base/release/8.0.0/sys/contrib/dev/mwl/mwlboot.fw.uu?view=log
b) Use the tool uudecode <firmware-file> to convert both files into their
binary format.
c) Copy both files to /system/data/firmware/marv88w8363/
d) Rename first file to mw88W8363fw and the second to mwlboot
e) Copy the License from http://svn.freebsd.org/viewvc/base/head/sys/contrib/dev/mwl/LICENSE?view=markup&pathrev=193240
into this directory, too.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34475 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-03 20:16:24 +00:00
Colin Günther
b69928b291
Coding style fixes and white space clean up. No functional change.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34473 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-03 19:23:33 +00:00
Colin Günther
5b7a3b4173
Codestyle fix. No functional change.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34472 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-03 19:19:26 +00:00
Colin Günther
3b71e6a6ab
Whitespace Cleanup. No functional change.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34471 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-03 19:18:08 +00:00
Colin Günther
caf10c9c87
Renaming to reflect the specific chipset this driver supports. This is done
...
because there is another FreeBSD driver used for 88w8335 chipsets. So the old
name would be misleading.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34470 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-03 19:02:56 +00:00
Axel Dörfler
751ce9e228
* Removed the interface fallback from the datalink module's is_local_address().
...
* Instead, added a new function is_local_link_address() which returns the
interface with the matching link level address, and can additionally test
for unconfigured interfaces.
* Merged the two versions of fill_sockaddr_in() together in ipv4.cpp.
* ipv4 now uses the new is_local_link_address() function to figure out whether
the received packet should be processed or not. This should fix a few DHCP
issues with multiple and configured interfaces as recently explained on the
mailing list.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34466 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-03 14:31:39 +00:00
Axel Dörfler
207f71773b
* The ethernet deframing used the wrong family for its reported source and
...
destination address (AF_DLI instead of AF_LINK).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34465 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-03 14:25:45 +00:00
Colin Günther
d75905df19
Relax treatment of warnings, so that iprowifi2100 compiles with gcc4, too.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34455 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-03 11:27:27 +00:00
Jérôme Duval
c773831b8f
more clean up
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34453 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-02 22:11:42 +00:00
Jérôme Duval
88e5c1ac3b
ALI 5451 audio driver for Haiku multi audio by Krzysiek Cwiertnia
...
* playback, tested with 16bit format, with sample rate range from 8 to 48kHz
* recording, fixed at 48kHz 16 bit (read below)
* controlling some mixers, input selector, etc.
I placed the driver in the ac97 directory as it fits better.
Also a few coding style fixes by me.
This driver collides at least with one pci id of the sis7018 driver.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34452 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-02 20:49:37 +00:00
Ingo Weinhold
e50cf8765b
* Moved the VM headers into subdirectory vm/.
...
* Renamed vm_cache.h/vm_address_space.h to VMCache.h/VMAddressSpace.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34449 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-02 18:05:10 +00:00
Axel Dörfler
cf44da4c44
* Made the translator more relaxed wrt to corrupted files - this makes it
...
loading the GMARBLES.PCX test file just fine.
* Automatic whitespace cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34440 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-02 10:35:15 +00:00
Axel Dörfler
a9cf57cff5
* Cleanup, no functional change.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34437 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-02 09:21:28 +00:00
Colin Günther
abc6c938fd
WLAN driver broadcom43xx links now. Needs to be tested as I don't own the
...
required hardware (many current Macbooks).
This driver needs a firmware. The retrieval of this firmware requires
following steps:
a) Download the linux firmware from http://downloads.openwrt.org/sources/wl_apsta-3.130.20.0.o
b) Download and compile b43-fwcutter from http://bu3sch.de/b43/fwcutter/b43-fwcutter-011.tar.bz2
c) Use b43-fwcutter to cut the linux firmware in pieces.
d) Copy those pieces into /system/data/firmware/broadcom43xx/
e) Prepend them with bwi_v3_ and remove the .fw ending.
f) You also need to create an empty file called bwi_v3_ucode in this directory.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34435 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-02 02:34:27 +00:00
David McPaul
1f7d28238c
Added support for files with an index header but no index entries
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34431 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-01 22:06:31 +00:00
Oliver Ruiz Dorantes
375ddaad85
- Style, mostly spacing, after passing checkstyle
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34430 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-01 20:58:44 +00:00
Ingo Weinhold
bd185b4117
*.c -> *.cpp
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34417 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-01 17:06:26 +00:00
Colin Günther
e557314537
iprowifi4965 now links. Still needs to be tested as I don't own the required
...
hardware myself.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34414 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-01 15:46:52 +00:00
Colin Günther
86a3b75e8a
iprowifi3945 now links. Still needs to be tested as I don't own the needed
...
hardware.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34411 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-01 15:36:27 +00:00
Axel Dörfler
2920b81793
* Fixed some coding style issues. David, please take a little more care about
...
this!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34408 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-01 13:04:21 +00:00
Axel Dörfler
c1cb57b1b1
* Coding style cleanup.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34407 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-01 12:58:49 +00:00
Axel Dörfler
b834a54550
* Applied patch by lt_henry that enables another bus speed frequency as part
...
of bug #3796 . Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34406 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-01 12:48:59 +00:00
Colin Günther
4cb0a74c12
Enabling linkage of the iprowifi2100 driver.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34392 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-30 21:20:34 +00:00
Colin Günther
8004aeb40b
Making the drivers compile again. So linking still needs to be worked on.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34389 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-30 20:03:33 +00:00
Axel Dörfler
c37e40a078
* Didn't notice that AdjustSize() was called from somewhere else, too. This
...
fixes the haiku_loader build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34386 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-30 16:36:28 +00:00
Axel Dörfler
a0973602c3
* Apparently, a drive's size is not always reported the same; at least I have
...
a drive (which had its MBR created on Linux) report a smaller size than the
size of its first partition.
* Since other operating systems seem to ignore this, we now relax our validity
checks and always adjust the size of a child partition to fit into its parent.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34381 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-30 15:56:37 +00:00
Axel Dörfler
bdcd7fcadc
* Remove kernel/disk_device_manager from Jamfiles (the add-ons now need to
...
specify the path).
* Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34377 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-30 15:32:38 +00:00
Jérôme Duval
4aafe92a0e
* cleanup
...
* use gpio count for gpio quirks
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34355 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-29 21:16:41 +00:00
David McPaul
51b0c01316
Added ODML Index support, still needs work though too much duplicated code. Feedback welcome
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34354 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-29 21:07:35 +00:00
Jérôme Duval
3acb81a693
added another MacBook quirk
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34353 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-29 20:51:12 +00:00