Hugo Santos
246b7a47b9
Added FreeBSD's 6.2 fxp driver (Intel Pro Express 100) to the source tree (original source, no modifications). It already builds and links but it is still a bit far from working.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21007 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-03 21:42:09 +00:00
Hugo Santos
6d043beb03
freebsd compat. layer: added mii placeholders, callout implementation.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21006 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-03 21:18:21 +00:00
François Revol
835ec57dc2
Fix building in Haiku
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21005 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-03 21:18:45 +00:00
François Revol
ff517f433e
Only publish configured devices.
...
Implemented write(). Not sure it works as it KDLs here on shutdown :^)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21004 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-03 20:38:09 +00:00
Jérôme Duval
65c84f154b
clean up
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21003 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-03 20:30:11 +00:00
Jérôme Duval
7743c49897
added support for B_RGB32
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21002 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-03 20:29:05 +00:00
Stefano Ceccherini
def763251b
cleanups, updated copyrights
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21001 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-03 20:05:47 +00:00
Hugo Santos
a8ff4e33f1
freebsd compat. layer: ifnet and ethernet methods. missing MII and callout
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21000 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-03 17:29:43 +00:00
Hugo Santos
070b62bf11
freebsd compat. layer: a few more symbols, also respect malloc's M_ZERO
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20999 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-03 16:40:08 +00:00
Stefano Ceccherini
4bfa8f22df
completes previous commit. Sorry for breaking the build
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20998 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-03 16:34:31 +00:00
Stefano Ceccherini
107ce0bba0
Fixed a bug in selection via keyboard (the problem described in bug
...
#716 , comment #4 )
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20997 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-03 15:15:23 +00:00
Stefano Ceccherini
ff32e5158c
ServerPicture now uses a BPositionIO object as internal storage instead
...
of BMallocIO. Added an additional constructor to handle a file. This is
in preparation of implementing BView::SetDiskMode().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20996 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-03 14:52:13 +00:00
François Revol
7f66887bc3
(not working) kludge to allow mountign with a single connection in BeOS (mount open()/close() twice).
...
Implement correct settings.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20995 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-03 14:40:42 +00:00
Hugo Santos
ac156738e9
freebsd compat. layer: added freebsd's busdma implementation. we are still missing MII and the ifp/ether methods.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20994 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-03 14:14:12 +00:00
François Revol
a0062874c5
512 as block size. Typo.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20993 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-03 06:37:38 +00:00
François Revol
3ca76df52e
Implemented request funcs. Done read(). It's working \o/
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20992 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-03 06:06:10 +00:00
François Revol
637cbfeeef
Add debug output.
...
Implement connect/teardown.
Added a workaround for BONE wanting to keep locked pages around when connect() fails (TCP teardown-> "trying to delete area in use!"). But doesn't seem to wait long enough.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20991 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-03 03:37:04 +00:00
Hugo Santos
82256564e2
freebsd compat. layer: added mbuf allocation and if_media support
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20990 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-03 02:18:17 +00:00
Hugo Santos
0490692add
freebsd compat. layer: resource allocation and interrupt setup
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20989 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-03 01:18:30 +00:00
François Revol
771c6b9355
Locking for Haiku & R5. Init stuff (driver_settings, not finished). open/free().
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20988 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-03 01:08:36 +00:00
Hugo Santos
522fc5d845
freebsd compat. layer, a few more methods.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20987 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-03 00:46:07 +00:00
Hugo Santos
da1d4ee6b3
typo.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20986 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-02 23:11:00 +00:00
Hugo Santos
750ddafd50
initial work towards a FreeBSD network driver source level compatibility layer.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20985 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-02 23:10:18 +00:00
Jérôme Duval
3499cb7591
now creates the monitored directories if they don't exist (0755)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20984 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-02 19:05:57 +00:00
Jérôme Duval
218b5bbcc3
clean
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20983 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-02 19:04:44 +00:00
Jérôme Duval
c0ca505fb0
devfs now accepts to create directories
...
is scanning needed here ?
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20982 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-02 19:04:06 +00:00
Jérôme Duval
d87dc169fb
fixed a typo was U instead of O
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20981 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-02 19:02:17 +00:00
Ingo Weinhold
19d7a2a162
* Moved the syscalls into the FSShell namespace, so that they don't
...
collide with the functions defined in libroot_build.so.
* On BeOS incompatible platforms fssh_open() and fssh_close() use the
libroot_build.so _kern_open() and _kern_close() respectively, so that the
attribute support works also when using the generic attribute
emulation.
* Use fssh_open()/fssh_close() instead of open()/close() for the cp
command, so that we get attribute support on BeOS incompatible
platforms when the generic attribute emulation is used.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20980 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-02 16:59:10 +00:00
Ingo Weinhold
d4c02c0171
Memory leak spotted by Axel.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20979 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-02 16:50:25 +00:00
Axel Dörfler
b8db3933b1
Fixed a bug reported by Stippi: when a report from the USB device contained a key up
...
and a key down event at the same time, the key repeat timer didn't work.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20978 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-02 16:48:21 +00:00
Michael Pfeiffer
ce3a2228e7
Changed __ZETA__ to B_BEOS_VERSION_DANO as suggested by Axel.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20977 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-02 15:46:25 +00:00
Ingo Weinhold
8dcb250c8a
Thou shall not leave a blank line between copyright header and header
...
guard.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20976 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-02 14:26:29 +00:00
Ingo Weinhold
991a7f3309
Create the Haiku image using the new FS shell. Successfully tested on
...
BeOS R5 and x86 Linux so far.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20975 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-02 14:12:04 +00:00
Hugo Santos
f6cfc5af19
set ValueIterator's fIndex to the next slot so OpenHashTable's Iterator properly gets it.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20974 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-02 14:08:55 +00:00
Ingo Weinhold
cc70cbe297
Reduced number of unused vnodes the VFS keeps around. We were hitting
...
the maximal number of (emulated) semphores on Linux before.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20973 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-02 14:09:03 +00:00
Ingo Weinhold
da66f026fd
Buffed maximal semaphore count.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20972 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-02 14:07:09 +00:00
Ingo Weinhold
84498b0ddc
Incorrect vfs_put_vnode(). Missed that one when changing from
...
vfs_get_vnode() to vfs_lookup_vnode().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20971 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-02 13:45:17 +00:00
Ingo Weinhold
46a92976fd
Missed this one.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20970 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-02 13:13:36 +00:00
Ingo Weinhold
ca6586d9a3
Changed grist.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20969 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-02 13:10:52 +00:00
Ingo Weinhold
d0a2ff1303
Obsolete file.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20968 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-02 13:07:54 +00:00
Hugo Santos
2b1c2dd349
when 0 is specified as the interface index with the generic multicast delta API, the stack should select an interface for the application.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20967 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-02 12:41:00 +00:00
Hugo Santos
ab7e05a39b
also dump filter mode and sources in 'ipv4_multicast'.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20966 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-02 12:40:50 +00:00
Hugo Santos
7015d5deaa
couple fixes to make MDR addons build with gcc 4.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20965 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-02 10:57:27 +00:00
François Revol
e96eef09e4
Find the device and point the cookie to it on open().
...
Comment.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20964 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-02 01:04:36 +00:00
François Revol
4d1cc41eb3
skeleton for an fmap driver (IMAGE.BE). Start of an Network Block Device driver. NBD server python script I foundon the net for testing.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20963 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-02 00:38:45 +00:00
François Revol
8c5d3c422a
Kernel socket helper funcs, with BONE compatibility. Shared by at laest 2 fs addons, and soon other drivers, so move it in here.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20962 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-02 00:31:45 +00:00
François Revol
55b368036c
don't provide get_vnode_name as we don't know how to do it. just set it to NULL and let the VFS handle it.
...
This should fix oddities in Tracker.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20961 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-02 00:22:39 +00:00
Hugo Santos
09b89797af
added ADDMULTI/REMMULTI support to ipro1000. Also cleaned up the compat. layer a bit to reuse some of the system's definitions.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20960 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-02 00:10:00 +00:00
Marcus Overhagen
96575d053e
delay device publishing by 1 second, for better testing of possible input server race condition
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20959 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-01 23:03:40 +00:00
Marcus Overhagen
512d703b90
reduce timeout to 150ms inside close hook, the mouse might already be gone
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20958 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-01 19:57:18 +00:00