Commit Graph

7535 Commits

Author SHA1 Message Date
beveloper
b8708997c5 the add_timer() function does panic, also it would call the hook in interrupt context, both it not acceptable. Commented it out
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7392 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 23:05:14 +00:00
beveloper
f8ce319207 removed some usec_delay() with spin(), since these functions are used inside the interrupt handler
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7391 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 22:55:46 +00:00
beveloper
2ec4faf00a Removed device probing, it's now in driver.c
PCI id table, em_probe() and em_shutdown() are now gone.
Changed interrupt handler to use the BeOS calling convention, this avoid putting a wrapper around it.
em_attach() and em_detach() no longer link the adapter struct into a list.
When PCI io port access is configured, make sure that io address decoding is enabled in the PCI configuration.
replaced some offsetof() macros with #defiens to avoid importing all these structs.
Moved sysctl stuff into a #if 0 #endif wrapper.
Removed #include of FreeBSD header files.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7390 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 22:48:04 +00:00
Michael Phipps
f141dd5709 Re-styled and (hopefully) finalized.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7389 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 22:41:30 +00:00
beveloper
5f1aaa70ce added some BeOS compatiblity stuff for settings up resources, PCI access, Interrupt handling, etc...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7388 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 22:26:31 +00:00
beveloper
4543b62738 updated to most recent version
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7387 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 22:13:09 +00:00
beveloper
6acce18557 added phy configuration and some documentation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7386 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 22:08:18 +00:00
beveloper
eeb57e873c replaced LOG with TRACE
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7385 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 22:04:31 +00:00
beveloper
4ade280af9 added a lot of register bits and register offsets, all taken from the documentation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7384 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 21:57:20 +00:00
beveloper
38f15423db added info texts, init_hardware() now searches for hardware, replaced LOG with TRACE
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7383 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 21:53:42 +00:00
beveloper
c376689374 Removed REG*() macros and replaced them with read*() write*() macros.
Added chipset configuration, phy access, tx and rx interrupt handling, read and write hooks. Nearly working


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7382 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 21:50:29 +00:00
beveloper
45f9110d5c added TRACE and ERROR macro, removed LOG macro
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7381 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 21:42:05 +00:00
beveloper
d5c64db1c5 First version of the:
Realtek RTL8169 Family Gigabit Ethernet Driver

Very basic, does only detection of the card and sets up some buffer descriptors.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7380 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 20:12:18 +00:00
beveloper
cf3d356127 Unfortunately, the original via-rhine driver is buggy and may hang during high traffic transfers.
These changes have been made by YellowTab and have been contributed to OpenBeOS.
While it might not fix every issue, things should be much better and more stable now.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7379 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 19:34:04 +00:00
beveloper
e11301109a A BeOS driver for the VIA Rhine chipset, written by Richard Houle.
Released under the BSD license.

===========================================
From: "Richard Houle" <richard.houle@sand.com>
Subject: RE: License question regarding beos via rhine driver.
Date: Thu, 1 Apr 2004 08:48:02 -0500

Whoa. You talking about very old stuff. I don't even know if I kept a copy
of that source code... If you have a copy of it, then you can do what you
want. I don't have any objections or restrictions.

For the license question, the driver was directly inspired by the FreeBSD
driver's source code. Therefore, It's a BSD License.

Richard Houle
===========================================


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7378 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 19:17:53 +00:00
beveloper
6d0dfa0f7e FreeBSD Driver for the Intel(R) PRO/1000 Family of Adapters
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7377 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 18:59:33 +00:00
Rudolf Cornelissen
fb0e0c889e added move_overlay() for virtualscreens
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7376 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 17:34:01 +00:00
Rudolf Cornelissen
ac83e70ce5 added move_overlay() for virtualscreens
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7375 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 16:17:24 +00:00
Rudolf Cornelissen
f1f5c0d05a fixed compiler warning
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7374 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 14:26:37 +00:00
Rudolf Cornelissen
45a4e26e92 another modelist update regarding panels
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7373 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 14:21:01 +00:00
Axel Dörfler
5685273f87 Now maintains the private libroot variable "_single_threaded".
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7372 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 12:44:12 +00:00
Axel Dörfler
d6f96fbff9 Added a header that contains private libroot definitions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7371 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 12:42:43 +00:00
Axel Dörfler
e304a7fd39 Minor cleanup, no longer includes BSD's stdio/local.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7370 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 12:32:12 +00:00
Axel Dörfler
f1e764a7e7 No longer uses fgetln() - that call is not part of the POSIX specs, and is
not supported by the GLIBC stdio that we now have.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7369 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 12:28:48 +00:00
Axel Dörfler
ee70fb4fed Added glibc stuff to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7368 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 12:27:14 +00:00
Axel Dörfler
10d0c89786 Added a new and BeOS compatible public stdio.h header.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7367 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 12:20:52 +00:00
Axel Dörfler
424c06a163 We've now switched to a BeOS compatible stdio.h in posix/.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7366 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 12:20:10 +00:00
Axel Dörfler
e7620319a4 Now links against GNU's stdio/libio instead of BSD's for binary compatibility with BeOS.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7365 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 12:19:01 +00:00
Axel Dörfler
0490efc6ff No longer compiles the BSD stdio files (we're using GNU's stdio now for compatibility).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7364 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 12:18:05 +00:00
Axel Dörfler
1062a34eae Added separate libio header (since some C++ headers are needing it) - still messy.
Cleaned up stdio_{pre|post}.h headers.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7363 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 09:29:27 +00:00
Axel Dörfler
0d7f2390a4 The main header for the device_manager - work in progress.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7362 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 09:26:12 +00:00
Axel Dörfler
003be99349 Added missing header.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7361 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 09:21:58 +00:00
Axel Dörfler
cda9457af2 Enable the stdio-common path.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7360 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 08:54:27 +00:00
Rudolf Cornelissen
65d3e07df2 sorted modelist for panels
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7359 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 07:28:34 +00:00
Rudolf Cornelissen
682c6e4a07 sorted modelist for panel native modes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7358 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 07:23:04 +00:00
Axel Dörfler
b9523fa3ef Wrote a simple tool to copy files to a BFS image from a shell. Internally,
it uses the fs_shell offerings to provide that functionality.
This tool allows to overcome the BeOS cache bug that happens as soon as you
mount a file system image; when you write the files onto an image using this
tool, you will be able to use it in Bochs (or other such uses) directly
without a reboot.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7357 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 00:00:57 +00:00
Axel Dörfler
b166160684 Our BSD stdio now has snprintf(), too, sorry for the inconvenience.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7355 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-02 23:36:03 +00:00
Axel Dörfler
203849cc49 Fixed warnings about possibly non-initialized variables.
Fixed a possible non-crash (it OpenBeOS, addresses below 0x80000000 are valid
user memory).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7354 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-02 23:20:15 +00:00
Axel Dörfler
743c3cceb9 The BeOS cache will no longer be turned off in case of a mounted image when
NO_FILE_UNCACHED_IO is defined at compile time.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7353 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-02 22:58:15 +00:00
Axel Dörfler
1bf27bb166 Removed no longer needed files from the Jamfile (they've never been part of the repository anyway).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7352 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-02 17:05:51 +00:00
Axel Dörfler
b80d229ec2 Managed to compile all other needed files from the main device manager.
Added all of them - module_loader.c and boot_hack.c won't be needed anymore.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7351 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-02 17:04:25 +00:00
Rudolf Cornelissen
4a3cf87482 modified panel modelines to be placed sorted in list
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7350 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-02 13:15:08 +00:00
Rudolf Cornelissen
63b94c104e fixed secondary head specs (nview)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7349 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-02 12:18:19 +00:00
Rudolf Cornelissen
49e02c1862 fixed secondary head specs (nview)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7348 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-02 12:12:55 +00:00
Rudolf Cornelissen
14787e6d3a important testrelease with panel DPMS programming disabled
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7347 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-30 20:33:48 +00:00
Rudolf Cornelissen
22ffe8b5c8 important testrelease with panel DPMS programming disabled
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7346 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-30 20:22:24 +00:00
Axel Dörfler
fe01b8fa14 Start of the integration of Thomas' pnp_manager (which is now called device_manager).
Nothing is tested right now, and it's not yet complete, but it's changed so that
it does compile in our tree (and looks a bit more like the other files, too).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7345 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-30 16:42:58 +00:00
Rudolf Cornelissen
8addb7c3d8 doc-update on some bits and pieces for TVout and panel use
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7344 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-29 12:40:29 +00:00
Axel Dörfler
511252a157 AddLink() added the link to the list of mounted volumes instead of the list
of links - that could have possibly hidden the boot volume under certain
circumstances. Thanks to Sean O'Brien for pointing this out.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7343 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-28 23:57:47 +00:00
Axel Dörfler
a44e28cc02 Fixed a possible buffer overflow condition in vfs_get_module_path().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7342 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-28 11:20:19 +00:00