1061 Commits

Author SHA1 Message Date
Rudolf Cornelissen
16fc5a3011 panel modeline updates including refreshrate update
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7432 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-06 14:07:06 +00:00
Axel Dörfler
6f7e72c0b7 Moved the logic from bfs_close() to bfs_free_cookie() - apparently, doing
anything in bfs_close() does not really makes sense. Thanks to Ingo for
pointing this out.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7429 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-06 12:31:18 +00:00
Axel Dörfler
c697a0f4cc When you now set COMPILE_FOR_ZETA=1 on the command line when jamming, the
api version will be set to 3 as required for Dano/Zeta - apparently, the
previous mechanism doesn't work with our headers, as we don't define
B_BEOS_VERSION_DANO at all :)
Fixed the build again (because of the stdio switch).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7428 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-06 12:30:23 +00:00
Philippe Houdoin
85898f2b1a One should be enough!
NET_STACK_CONTROL_MODULE IPC support is still a work in progress, thought.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7419 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-05 17:11:53 +00:00
Bruno G. Albuquerque
4e936bb759 Now when BFS_REPLACEMENT is set, the name used for the add-on is "bfs" instead
of "obfs" (thanks Ingo). Also, changed the destination directory. It was formelly
"beos/system/add-ons/kernel/file_systems/bfs/" and now it is
"beos/system/add-ons/kernel/file_systems/" (as it should be).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7411 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-04 22:07:12 +00:00
Philippe Houdoin
cda24f2279 Ooops, should have not commit this stupid change!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7410 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-04 21:22:00 +00:00
Axel Dörfler
34cf473d12 BlockAllocator::CheckBlockRun() can now also check for non-allocated ranges.
Fixed a possible endian problem in CheckBlockRun(), too.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7405 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-04 01:42:53 +00:00
Bruno G. Albuquerque
b1e752314f Ops! :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7404 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-04 01:27:17 +00:00
Bruno G. Albuquerque
e4758ac382 Added BFS_REPLACEMENT define that will enable compiling OpenBFS as as full
BFS replacement (will report itself as "bfs" instead of "obfs". Is there a
way to change the add-on name based on the same define?


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7403 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-04 01:24:27 +00:00
Axel Dörfler
c832ff1e1b Fixed a race condition in the block allocator initialization (the lock was held
too late, and could theoretically already be acquired by someone else).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7402 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-04 00:07:38 +00:00
Philippe Houdoin
dd8f2aef56 Jamfile for ipro1000 driver too.
Added ipro1000, rtl8169 and via-rhine to build.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7401 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 23:41:33 +00:00
beveloper
56676a8c4b This is the real hard stuff!
FreeBSD compatibility layer that provides a struct ifnet interface,
all #defines that are used by the driver, the mbuf functions,
mbuf queues, etc.
Also some unused things are provided by empty macros.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7399 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 23:31:45 +00:00
beveloper
b567981843 A simple memory pool that is used the the mbuf support. Can be called
from within an interrupt handler, and wastes pretty much memory.
Knows only about two different block sizes, and implements them by
using a simple free list.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7398 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 23:29:46 +00:00
beveloper
07815bc520 The driver interface detects the cards and publishes defs entries.
util.* provide a convenience function to map physical memory.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7397 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 23:27:26 +00:00
Philippe Houdoin
8f1b75b72e Jamify the new network cards drivers commited by Marcus.
Coming soon for ipro1000, too.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7396 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 23:25:31 +00:00
beveloper
6ba61f712f The device driver interface to the network stack, either BeOS R5, BONE, or OpenBeOS.
Initialized attaches and detaches the core driver, sends and receives packets


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7395 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 23:21:39 +00:00
beveloper
21482d71c1 a very simple debugging macro
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7394 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 23:17:40 +00:00
beveloper
46e6df0fc5 Reacting on a link change inside the interrupt handler is plain crazy,
as this involves some long delays like eeprom reading, etc.
Need to snooze() there, and this moved this into a separate thread.
Obviously, the FreeBSD driver isn't doing prober locking yet, so
it's not really save. But it's the correct way to do it, and it
doesn't crash. Inside the interrupt handler it did crash when reconnecting the cable...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7393 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 23:09:50 +00:00
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
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
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
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
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
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
64c14e7e31 updated head sel code for NV11 special treatment
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7314 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-26 08:29:11 +00:00
Rudolf Cornelissen
fe40131d4d output devs/heads matrix setup added (NV11 not ready yet)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7303 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-24 14:41:54 +00:00
Rudolf Cornelissen
30f7642281 driver works nicely with virtualized head setup now!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7296 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-22 14:41:39 +00:00
Rudolf Cornelissen
0669fe20bd added virtualized CRTC access with it's advantages
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7295 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-22 08:41:03 +00:00
Rudolf Cornelissen
ccfb6b3711 more logging, removed paneldetection bug
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7242 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-19 13:57:31 +00:00
Waldemar Kornewald
068bd8517e Now using correct shutdown() constants.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7228 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-18 12:47:52 +00:00
Waldemar Kornewald
feb699f996 Fixed a bug that caused libbind.so to not resolve the name:
UDP did not set AF_INET in the sockaddr that is passed to recvfrom().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7211 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-15 16:11:19 +00:00
Waldemar Kornewald
25ae6950d9 Changed the way IdleSince is updated.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7210 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-15 16:10:23 +00:00
Waldemar Kornewald
b7708e654a Fixed DEBUG build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7209 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-15 16:09:19 +00:00
Waldemar Kornewald
cdee6f9740 The DEBUG version dumps all packets to /boot/home/ipcpdebug.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7208 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-15 16:08:39 +00:00
Waldemar Kornewald
310eb63195 Updated shutdown() constants.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7207 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-15 16:07:42 +00:00