Ithamar R. Adema
e59aab0981
ARM: Some header cleanup in preperation of more CPU support code...
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40948 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-14 13:48:21 +00:00
Ithamar R. Adema
36fa904ede
Fix aligment of data segment, by moving our ARM ldscript closer to the X86 one. This restores
...
the state of the ARM port to booting all the way up to the idle thread again.
However, will still need to investigate why we need the PHDRS magic, likely due to improper
setup of the ARM toolchain. If anyone has ideas, please let me know!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40937 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-13 23:17:29 +00:00
Ithamar R. Adema
60644e6de6
* Add support for R_ARM_ABS32 to kernel ELF linker
...
* Removal of some commented out (messy) code
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40929 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-13 15:48:52 +00:00
Ithamar R. Adema
5707f2519c
* Quiet down VM debug output, so we can easily find errors ;)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40927 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-13 10:42:18 +00:00
Ithamar R. Adema
8bbaee6124
* Fix ARM kernel compilation
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40926 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-13 10:28:51 +00:00
Ithamar R. Adema
e7682a8e3e
ARM:
...
* Disable TRACE output of ELF relocation
* Implement R_ARM_RELATIVE (for kernel modules)
No more errors on 'loading' of kernel modules now!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39220 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-30 23:10:36 +00:00
Ithamar R. Adema
c9a4637342
* ARM: Initial stab at fixing ELF relocations (much more to do though for full ELF relocation support).
...
We now boot right up to "INIT: main: done... begin idle loop on cpu 0" ! :)
(Please note that there's still *lots* stubbed out)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39219 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-30 22:53:32 +00:00
Ithamar R. Adema
f3a3804efa
* ARM: Fix ELF relocation name.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39218 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-30 22:50:43 +00:00
Ithamar R. Adema
c917cd6261
* ARM: Major VM work
...
- This is mostly a copy of the x86 32bit paging method and infrastructure, this was copied for two reasons:
1) It is the most complete VM arch
2) The first ARM PAE patches have landed on alkml, so we will have to deal with it in the future as well,
and this infrastructure has proven to be ready ;)
- No protection features, or dirty/accessed tracking yet
- Lots of #if 0
but....
It boots all the way up to init_modules() now, and then dies because of a lack of (ARM) ELF relocation implementation!
Since at this point the VM can be fully initialised, I'm going to focus on CPU exceptions next, so we can get KDL to trigger
when it happens, and I can actually debug from there ;)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39206 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-30 14:10:30 +00:00
Ithamar R. Adema
107ce9b0fb
* ARM: Remove fields that were no longer used since r39168...
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39205 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-30 13:57:32 +00:00
Ithamar R. Adema
72d414a517
* ARM: Start physical allocated range at top of memory; otherwise our page directory/tables won't be included
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39204 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-30 13:55:29 +00:00
Ithamar R. Adema
7bc3564aa8
* ARM: Some more cleanup...
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39168 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-28 11:19:20 +00:00
Ithamar R. Adema
ac4c302248
* Adjust code to use the new page directory/table helper macros.
...
* Some more code cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39138 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-25 11:19:17 +00:00
Ithamar R. Adema
d38153721e
* Add page directory/table helper macros.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39137 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-25 11:16:21 +00:00
Ithamar R. Adema
2609a6bc98
* Fix header guard.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39133 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-24 22:06:22 +00:00
Ithamar R. Adema
3164579353
* ARM: Map full page directory, instead of just the first page
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39092 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-23 20:28:49 +00:00
Ithamar R. Adema
e8b7cfe80e
* ARM: print memory map before starting kernel
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39058 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-23 08:51:09 +00:00
Ithamar R. Adema
150820bc87
* Remove PXA270 code from Freerunner header file
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39048 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-22 17:31:04 +00:00
Ithamar R. Adema
29ce3dedd9
* Remove references to vectors, they are not at physical address 0, but on either virtual address 0 or (in case of high vectors) on 0xffff0000....
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39046 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-22 15:57:57 +00:00
Ithamar R. Adema
18b48221c9
* don't mess with the stack before storing the register state :$
...
This finally makes KDL fully usuable on the ARM port!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39015 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-19 23:11:57 +00:00
Ithamar R. Adema
22e3bbdf9b
* Implement ARM TLB/cache functions
...
* General code cleanup...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39010 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-19 12:26:38 +00:00
Ithamar R. Adema
7889c39de4
* Fixup longjump too... One step closer to a working KDL...
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39002 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-18 14:00:17 +00:00
Ithamar R. Adema
4795b05a88
* Fixup trace message
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39001 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-18 13:03:59 +00:00
Ithamar R. Adema
a9de9aea54
* Fix atomic_get :$
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39000 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-18 12:39:59 +00:00
Ithamar R. Adema
60beb9c01e
* Fixup atomic calls; currently only minimally tested on __ARM_ARCH__ < 6
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38999 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-18 12:10:16 +00:00
Ithamar R. Adema
c395771a69
* Force GCC to align sInitialHeap on 8-byte boundary, otherwise Free() will complain (hit on ARM)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38997 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-18 09:42:59 +00:00
Ithamar R. Adema
fb2cbc781e
* Fix incorrect class name in kprintfs
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38995 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-18 01:43:47 +00:00
Ithamar R. Adema
cd4265c803
* For ARM, we now always read from the serial for KDL input.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38994 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-18 01:15:13 +00:00
Ithamar R. Adema
a85c91d6f0
* Fix setjmp/jmpbuf_t size so we can finally get to the KDL prompt
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38993 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-18 00:50:59 +00:00
Ithamar R. Adema
ce30d635e3
* fix outdated commented dprintf (still useful for local debugging)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38990 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-17 20:00:21 +00:00
Ithamar R. Adema
1ca7a3536c
* let arch_debug_call_with_fault_handler() at least do the call, though without fault handler for now
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38989 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-17 19:58:14 +00:00
Ithamar R. Adema
2d3913afba
* Pass through physical RAM area to kernel.
...
* More code cleanup....
Currently working on getting the MMU code on the kernel side to function correctly, some progress already there, will follow in later commits...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38988 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-17 15:27:36 +00:00
Ithamar R. Adema
71b60eaf35
Remove leftover debug code. Thanks François!
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38973 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-15 11:16:18 +00:00
Ithamar R. Adema
1a6a5dc39d
Minor code cleanup. No functional changes.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38972 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-15 10:20:21 +00:00
Ithamar R. Adema
ecaa4c2990
* Incorporate ARM board name in flash/mmc image names; Fixes ticket #5213 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38971 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-15 09:48:43 +00:00
Ithamar R. Adema
c4c6cedde6
* Work around a problem with a USB device (in my case, Qualcomm Gobi 3G modem) that reports interface_number values that are out of range with the interface_count. This would make the usb stack in Haiku crash.
...
Will need a different fix to get device to work, but at least Haiku won't crash on bootup with this change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37409 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-05 20:51:59 +00:00
Ithamar R. Adema
052ef89f0f
* Fixes generate_boot_screen so it can be run as part of the build environment.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37238 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-23 20:59:41 +00:00
Ithamar R. Adema
159d0f2447
* Make sure the attribute list gets cleared to when a filetype gets deleted
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36822 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-15 19:55:34 +00:00
Ithamar R. Adema
9034fd529b
* Add mimetype for vCard files
...
* Add mimetype for iCalendar files
These include sniffer rules.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36818 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-15 12:26:55 +00:00
Ithamar R. Adema
43775be678
* Revert r36316 as there are too many apps broken (Vision, Chart, Tracker Find, etc) in different unexpected ways. I'm sorry for the
...
trouble :( I'll revisit the change and post a patch with a hopefully better solution soon....
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36795 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-11 22:54:00 +00:00
Ithamar R. Adema
a40ec7c51a
* Revert my changes to BListView for now
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36758 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-08 20:59:14 +00:00
Ithamar R. Adema
e2e160328b
* Revert MinSize() and PreferredSize() to the normal BView variants, since unlike the comment says GetPreferredSize() actually looks at the content of the listview to determine the size.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36756 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-08 19:45:13 +00:00
Ithamar R. Adema
b513501fe4
* When a BMenuItem contains a submenu, and that menu IsLabelFromMarked(), use its preferred width as the content width in GetContentSize().
...
This fixes problems with the Min/PreferredSize() calculations for BMenuField, with a Menu that IsLabelFromMarked().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36752 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-08 19:03:33 +00:00
Ithamar R. Adema
9661f324d9
* Don't mark edid_detailed_timing entries with a pixel_clock <= 0 as EDID1_IS_DETAILED_TIMING. This prevents decode_edid clients to incorrectly interpret the entries as valid.
...
This fixes booting on the Samsung NP-N135, which used to reset before being able to enter the bootloader menu. It would be interesting if tickets #4408 , #5539 , #5696 , and #5720 could be retested.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36734 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-07 21:51:06 +00:00
Ithamar R. Adema
9cafc5db2b
* Fix build after Axel commited his locale changes in r36727
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36728 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-07 18:13:14 +00:00
Ithamar R. Adema
9e24c4190f
* Add example vesa configuration file.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36630 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-05 20:45:54 +00:00
Ithamar R. Adema
037e8a50ff
* Switch from using BMenuField to BTabView for panel selection
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36526 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-29 11:59:50 +00:00
Ithamar R. Adema
fd7ccdaca6
* Minor code cleanup
...
* Added locale support to main window
* Added layout sensitivity to main window
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36514 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-28 04:50:09 +00:00
Ithamar R. Adema
47a07cbf03
* Truncate the strings displayed in the printer list properly.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36506 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-27 16:48:18 +00:00
Ithamar R. Adema
d023a58407
* Fix problem reported by stippi: The IPP transport addon expected the URL in a custom printer attribute instead of the standard transport_address attribute. This caused the IPP transport to ask for the URL even though the Printers preference panel had already stored the URL in the transport_address attribute.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36505 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-27 16:04:34 +00:00
Ithamar R. Adema
f7b0c08cae
This modifies the Postscript printer to be able to insert a pipe in between the Postscript generation
...
and the transport addon. The actual command use as pipe is retrieved from the PPD that can be selected
at printer creation time.
Currently PPD selection is not shown (as the PPD directory is not available) and therefore the pipe
will not be inserted.
This still needs a bit of TLC, so hope to commit the last changes to fully support this later this week.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36173 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-11 22:01:13 +00:00
Ithamar R. Adema
b6e09fad7a
* More style fixes ;)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36160 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-11 16:29:37 +00:00
Ithamar R. Adema
45428391f9
* Fix missing newline in error message.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36159 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-11 16:13:53 +00:00
Ithamar R. Adema
b13b0b0f4e
* Make sure LinkSender knows team ID of receiving team; this fixes the >64k ServerLink transfers.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36154 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-11 14:26:19 +00:00
Ithamar R. Adema
86d4795d36
* Use Jam variable for bnetapi library
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36138 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-11 09:31:30 +00:00
Ithamar R. Adema
a5b39147b3
* More style fixes
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36136 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-11 09:07:43 +00:00
Ithamar R. Adema
f0ae1d0c2c
* Fix coding style issues.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36134 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-11 08:57:15 +00:00
Ithamar R. Adema
c52f7982c9
* Switch to using USBKit instead of usb_printer kernel driver
...
* Implement new transport id/name listing
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36115 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-10 17:12:31 +00:00
Ithamar R. Adema
3cbb7d0544
* Implement LAN printer broadcast handling for IPP
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36112 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-10 16:03:54 +00:00
Ithamar R. Adema
663b74a594
* Lock printing status window before calling Quit
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36109 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-10 15:33:11 +00:00
Ithamar R. Adema
3d0010a866
* Fix bug in handling name/id combos published by transport addons
...
* Minor whitespace fixing.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36108 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-10 15:30:29 +00:00
Ithamar R. Adema
3a4656dd4c
* Add missing newline in listusb usage message.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36107 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-10 15:19:23 +00:00
Ithamar R. Adema
19b602bcb0
Some initial code for USB Video-based Webcams. It currently parses the USB Video descriptors and dumps the information out via stdout. I'd be very pleased if anyone with a USB Video webcam (or other device) could take the following steps:
...
* hey media_server QUIT
* /system/servers/media_server > /boot/home/media_server.log
* listusb -v > /boot/home/listusb.log
and mail the two resulting files to ithamar AT unet DOT nl. Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29282 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-22 13:19:13 +00:00
Ithamar R. Adema
8c339050ac
Complete my previous fix :$
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29281 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-22 12:58:24 +00:00
Ithamar R. Adema
32bf83a34b
* Fix initialisation of CamDevice::fIsoIn.
...
* Fix debug message on IsoIn path.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29280 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-22 10:53:13 +00:00
Ithamar R. Adema
6595d6836d
* Make usb device detection in usb_webcam identical to the way the usb bus_manager handles it.
...
* Fix some minor printf()-style warnings in the debug build of usb_webcam.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29279 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-22 10:39:31 +00:00
Ithamar R. Adema
3a367aec99
Fix problem in BUSBInterface::OtherDescriptorAt(). It will now correctly return available
...
non-standard descriptors. This makes listusb useful again with usb audio & video devices...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29275 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-21 20:50:08 +00:00
Ithamar R. Adema
a6809d0e5c
Do not enable interrupts on codec status change, since we do not handle those. This fixes the lockup on the EeePC, and follows the description in the HDA specs.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29172 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-09 16:42:04 +00:00
Ithamar R. Adema
e33427e19c
Disabled B_FIND_CHILD_ON_DEMAND for ACPI nodes for now, so more then just level 2 ACPI nodes get a chance to have drivers assigned to them too ;)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28807 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-13 22:29:01 +00:00
Ithamar R. Adema
8acabe5a2b
* Take into account that get_device_hid() can fail; so empty string before passing it.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28776 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-04 22:28:42 +00:00
Ithamar R. Adema
5b188b1c9f
* Added the ar81xx driver to the image. Thanks for testing kvdman!
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28773 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-03 21:28:12 +00:00
Ithamar R. Adema
6de5686743
Add network driver for Atheros AR8121/AR8113/AR8114 controllers to the build. These are used in the EeePC 901 and later.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28771 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-03 20:10:48 +00:00
Ithamar R. Adema
33f40256a5
Add if_llc.h to BSD compatibility layer; remove a semicolon from a macro definition where it shouldn't be; and add the roundup() macro.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28770 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-03 20:05:20 +00:00
Ithamar R. Adema
4a3ec9b6a4
add the acpi_lid driver to the build system; not in the image yet though...
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28764 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-02 23:43:50 +00:00
Ithamar R. Adema
672ed10926
Update iasl bin tool to acpica-20080701
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28763 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-02 23:42:13 +00:00
Ithamar R. Adema
8e9ff38303
Update Attansic L2 driver with latest source from FreeBSD, it is now fully functional!
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28752 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-30 18:16:19 +00:00
Ithamar R. Adema
ed64c85f06
Attansic L2 Fast Ethernet driver for Haiku. Port of FreeBSD driver from:
...
http://www.SpringDaemons.com/stas/if_ae-1214569185.tar.bz2
(This is the wired NIC on the Asus EEE PC!)
NOTE: It is not in the image because it currently still crashes, will look into that soon.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27290 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-02 22:19:45 +00:00
Ithamar R. Adema
f2f3c67292
Use new transport callbacks from printer preference.... transport addons now choose what to publish in the printers pref add printer dialog...
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23946 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-11 23:48:05 +00:00
Ithamar R. Adema
eb5a25ca41
Slight rework of my previous commit... now ports can be asked too ;)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23928 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-08 02:00:08 +00:00
Ithamar R. Adema
62cb58a8ef
Make print_server track Transport addons too. This is because some of the NewTransportAddOns(tm) can also autodetect devices, e.g. USB printers. For this, the print_server needs to keep those transport addons loaded at all times. This code now also enables dynamic Transport discovery for the Printer prefs, e.g. 'hey print_server GET Transport 0' or 'hey print_server GET Transport 'USB Port'' will now work too ;)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23927 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-08 00:34:53 +00:00
Ithamar R. Adema
e7fe0f67d1
Fix BPrintJob to not screw up user-made job settings with the global defaults.... StyledEdit prints again :)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23506 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-13 23:47:35 +00:00
Ithamar R. Adema
993976312b
Make (S)ATA(PI) drives publish under /dev/disk/ata[pi] again
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23497 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-13 20:46:32 +00:00
Ithamar R. Adema
0fc976d900
Fix problem with CLOEXEC also being handled on fork(). For details on expected (BeOS) behaviour, see http://www.freelists.org/archives/openbeos/12-2001/msg00280.html
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23456 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-12 23:48:52 +00:00
Ithamar R. Adema
fac155d491
Fix problem of accept() not accepting a bigger buffer for the sockaddr then required (cupsd exposed this bug)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23420 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-11 22:12:50 +00:00
Ithamar R. Adema
e7d7efa1c7
Some minor fixes; lots of debugging output still in there; not perfect yet
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23404 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-11 16:50:53 +00:00
Ithamar R. Adema
e2eba858bb
[HDA] Pass correct Cyclic Buffer Length to hardware...
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23311 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-09 15:42:54 +00:00
Ithamar R. Adema
afc104a083
[HDA] When controller has multiple codecs, make sure we try to use the one with audio features. This should improve laptop support. More to come ;)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23295 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-09 10:20:07 +00:00
Ithamar R. Adema
c1b3e74df2
Initial fixes to makee 4-port SATA work. Big ide_adapter commit will follow...
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21951 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-14 20:19:58 +00:00
Ithamar R. Adema
3b1dcc1e09
Fix GCC4 compilation issue.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21950 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-14 18:38:47 +00:00
Ithamar R. Adema
957200056f
Fixes for legacy_sata driver. It now:
...
* boots Haiku successfully on 2 different test boxes here
* no longer screws up when trying to write to PCI config space :)
* Supports nVidia nForce chipsets
TODO:
* Make 4 channel SATA controllers work (currently only recognizes first 2)
* SATA PHY initialisation (needed for some BIOSes who might not do it)
Feel free to test this, and assign any problems with this driver to me.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21949 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-14 17:12:08 +00:00
Ithamar R. Adema
fba47bd728
Initial work for a driver supporting the pre-AHCI SATA controllers. Currently
...
implemented: VIA & ALI. nForce is on the TODO list ;)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21894 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-11 15:03:30 +00:00
Ithamar R. Adema
633b979176
Basic SoundBlaster 16 (ISA) driver, designed to be used with QEMU, but should become usable on real hardware too. Very much a work in progress, based on the sb16 driver available for BeOS.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21175 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-19 17:22:27 +00:00
Ithamar R. Adema
641541a4f3
* Fix some bad error handling
...
* Plug some leaks
* Initial code for input/output bus discovery
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21174 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-19 16:37:23 +00:00
Ithamar R. Adema
fa48b9d885
Fixed the problem of not being able to work from Haiku. The main problem was that although the multi_audio API on BeOS hands the driver the settings as made in the Media prefs, the Haiku one just gives maximum values and assumes the driver will scale the values down. I didn't do that.
...
If you run Haiku on HDA hardware, you should have sound now too! :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21161 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-17 11:16:05 +00:00
Ithamar R. Adema
abc3549242
* Made code more Coding Guidelines compliant
...
* Fixed several sem/area leaks when restarting media services.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21160 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-17 08:23:42 +00:00
Ithamar R. Adema
9432d60991
Fixed:
...
* Prepare code for exposing multi_audio interface on Audio Function Group level
* Some minor cleanups.
Todo:
* Publish devfs entries based on available Function Groups instead of HDA cards.
* Publish all mixer controls / output busses through multi_audio interface.
* Make recording work :)
* Check why we need 4096 samples to play ok.
* Figure out problems with driver on Haiku... currently only successfully tested on R5.
As you can see, plenty of things left to do, but progressing nicely. At least people can have sound on R5 now!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21159 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-17 02:43:12 +00:00
Ithamar R. Adema
7c8482e991
* Count samples, not bytes, stupid :P
...
* Don't try to bypass semaphore counting, it should just work(tm)
* Minor cleanups.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21158 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-16 21:43:15 +00:00
Ithamar R. Adema
b0d9cd6f66
* Delete all local copies of multi_audio from source tree.
...
* Change name of header for Haiku specific multi_audio to hmulti_audio (in line with the rename of the media addon itself)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21136 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-14 02:37:14 +00:00
Ithamar R. Adema
2a3d3b7ad6
* More buffer (cycle) handling
...
* Locking of stream info.
* Add compile-time support for Haiku/BeOS multi_audio API.
TODO: Need to check out why we have multiple (different) multi_audio.h files floating around in the source tree....
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21135 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-14 01:23:36 +00:00
Ithamar R. Adema
7de9382792
* Set clock values based on card type.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21134 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-13 22:41:03 +00:00