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
Jérôme Duval
70d85a2465
added an empty input methods system directory, to be able to add the canna IM
...
in fact, the directory is only monitored when existing
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20957 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-01 18:58:22 +00:00
Jérôme Duval
48cc07ffa7
added a commented option to activate input_server serial log
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20956 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-01 18:34:45 +00:00
Marcus Overhagen
3d65babaa6
restore previous serial debug output setting when leaving kernel debugger
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20955 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-01 18:13:01 +00:00
Marcus Overhagen
19ca4fb578
insert the missing space
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20954 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-01 18:10:12 +00:00
Jérôme Duval
fa1d29d138
added mail_daemon addons
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20953 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-01 17:30:29 +00:00
Hugo Santos
bbcf6596ec
select the default interface to be used for multicast through a routing table query.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20952 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-01 15:15:47 +00:00
Michael Lotz
2f470aec1c
Commiting an example SCSI driver written to understand the new SCSI API. But the module isn't used even when installed and linked as a boot driver.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20951 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-01 13:06:57 +00:00
Marcus Overhagen
cafc95e0af
Make no-settings-file defaults match the empty-settings-file defaults.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20950 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-01 13:00:33 +00:00
Hugo Santos
dfc2cabe43
call the callbacks with ->next (...)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20949 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-01 12:57:26 +00:00
Hugo Santos
89361fb14e
ethernet_device's add_multi/rem_multi now call into the driver using the ETHER_ADDMULTI/ETHER_REMMULTI ioctls.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20948 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-01 12:41:44 +00:00
Hugo Santos
954038303d
added add_multi/rem_multi to net_devices. Glued the interface protocol multicast handling with net_device via add_multi/rem_multi.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20947 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-01 12:26:03 +00:00
Hugo Santos
8465a06910
added a ValueIterator to MultiHashTable to present a limited view in result of Lookup()s.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20946 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-01 12:16:36 +00:00
Hugo Santos
8aa4c7e370
prepared the ipv4 multicast code for full multicast support.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20945 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-01 11:38:59 +00:00
Hugo Santos
1a41adbcd2
added join_multicast/leave_multicast to datalink protocols, preparing for full multicast support.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20944 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-01 11:38:39 +00:00