8960 Commits

Author SHA1 Message Date
Waldemar Kornewald
861d934e82 This should fix BONE compatibility a little bit. We still need nonblocking IO and a good select() fix.
Explanation: we did not have the same sockaddr_in struct size as BONE, but our netstack wants to have our size, so I changed it to match BONE's. ;)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9079 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev9079
2004-09-27 22:31:54 +00:00
Nathan Whitehorn
ebab3a7e9c Fixed some library dependency issues that broke compilation on systems that don't have Haiku MDR installed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9078 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev9078
2004-09-27 19:47:06 +00:00
Rudolf Cornelissen
b93cacd365 removed double defines
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9077 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev9077
2004-09-27 15:30:16 +00:00
Rudolf Cornelissen
e526812fe4 minor comment updates
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9076 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev9076
2004-09-27 15:28:24 +00:00
Rudolf Cornelissen
2887e62496 doc update.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9075 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev9075
2004-09-27 14:40:45 +00:00
Rudolf Cornelissen
51842d6e91 restructured startup code, tested NV34 coldstart as secondary card: we have a go!. Analog monitors only, rest is working nicely. 8-). The script exec code is not yet finished, so I cannot promiss (yet) every card actually starts up. WoeHoe!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9074 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev9074
2004-09-27 14:36:30 +00:00
Rudolf Cornelissen
26b88cb86d added a few registers for RAM setup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9073 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev9073
2004-09-27 12:04:40 +00:00
Rudolf Cornelissen
3937b2cf4f added NV10up RAM setup. not yet tested.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9072 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev9072
2004-09-27 12:03:02 +00:00
Rudolf Cornelissen
11437a8764 added yet another type2 scriptcmd. My NV34 now reports OK status on coldstart, though it's not yet actually working (missing RAM setup only: hopefully...)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9071 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev9071
2004-09-27 10:04:08 +00:00
Stefano Ceccherini
1ce76bfd47 Added "new" keyboard driver, which implements the "correct" keyboard api. Not tested or anything. Not yet added to the build as I even did some last minute changes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9070 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev9070
2004-09-27 08:44:02 +00:00
Stefano Ceccherini
d4c31885aa Renamed sync() to card_sync() to avoid name clashing with the "sync()" function in the new unistd.h. Commented out transparent_blit() to suppress a compiler warning, and added a comment to it.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9069 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev9069
2004-09-27 08:32:47 +00:00
Stefano Ceccherini
b397f1b53b Should fix the build, things have changed in kb_mouse_driver.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9068 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev9068
2004-09-27 08:26:16 +00:00
Stefano Ceccherini
6b06287720 Some "forgotten" cleanups. Added a check for NULL in the constructor which avoids a crash in some cases.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9067 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev9067
2004-09-27 07:23:16 +00:00
Stefano Ceccherini
b0881688c3 Now checks if the driver is already opened, and return B_BUSY if true.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9066 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev9066
2004-09-27 07:20:57 +00:00
Jérôme Duval
3278758030 change field name of mouse position
change device message handling a bit


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9065 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev9065
2004-09-26 22:41:00 +00:00
Jérôme Duval
59fda8c176 change the mouse io struct
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9064 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev9064
2004-09-26 22:34:57 +00:00
Jérôme Duval
fc2045ee7e added wheel support, changed to kb_mouse_driver.h mouse_movement to avoid crashing when the driver writes back the io
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9063 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev9063
2004-09-26 21:59:33 +00:00
Jérôme Duval
dbb3afbf3a added mouse support
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9062 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev9062
2004-09-26 21:53:27 +00:00
Rudolf Cornelissen
f4f986a34d fixed error in type2 scriptcmd #34.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9061 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev9061
2004-09-26 19:32:51 +00:00
Rudolf Cornelissen
325c177bfa small logging update.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9060 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev9060
2004-09-25 16:00:45 +00:00
Rudolf Cornelissen
4b05f515da completed that scriptcmd. Should work now..
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9059 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev9059
2004-09-25 13:05:11 +00:00
Rudolf Cornelissen
0153d21af7 added another type2 scriptcmd: not yet finished, not yet tested.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9058 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev9058
2004-09-25 10:58:31 +00:00
Rudolf Cornelissen
ab0c1776c6 BIOS info struct readout update, there's no V6 as I at first thought. Note: NV40 and up seem to be using a new system and so won't be able to get coldstarted for now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9057 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev9057
2004-09-25 10:16:40 +00:00
Jérôme Duval
d0a8891742 fix no newline at end of file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9056 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev9056
2004-09-24 12:46:01 +00:00
Jérôme Duval
62cdfcd034 Now uses a global header
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9055 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev9055
2004-09-24 12:41:10 +00:00
Axel Dörfler
4c3d76fd9b Minor cleanups.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9054 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev9054
2004-09-24 00:21:53 +00:00
Axel Dörfler
14d1496a7f sysconf(), pathconf(), and fpathconf() now at least do marginally useful things.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9053 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev9053
2004-09-24 00:16:51 +00:00
Axel Dörfler
2f524aed3a Reworked some TTY support functions. Added tcgetattr() function.
tcsendbreak() now ignores the "duration" parameter.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9052 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev9052
2004-09-23 23:52:36 +00:00
Axel Dörfler
98ac7a9709 Removed the termios subdirectory; it's replaced by posix/termios.c.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9051 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev9051
2004-09-23 23:49:53 +00:00
Axel Dörfler
cf46507317 The termios support is now part of the posix_main.o object file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9050 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev9050
2004-09-23 23:48:50 +00:00
Axel Dörfler
b67cd64e96 Almost rewrote the termios.h header file.
It's now much cleaner than before. Removed the tcgetattr() macro; it's now
a real function call again.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9049 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev9049
2004-09-23 23:46:24 +00:00
Axel Dörfler
2627eeff81 Joined the former termios/termios.c and termios/tcsetattr.c together to termios.c.
Added it to the build.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9048 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev9048
2004-09-23 23:45:03 +00:00
Rudolf Cornelissen
e703f31b4f agp logging update; new cards update for Xtal det, dualhead det.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9047 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev9047
2004-09-23 19:45:30 +00:00
Jérôme Duval
4c2a769c68 Now uses a global header
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9046 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev9046
2004-09-23 15:41:01 +00:00
Jérôme Duval
3bc52dc6ba Now uses global header
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9045 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev9045
2004-09-23 15:37:17 +00:00
Jérôme Duval
5c8e314fba Now use a global header
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9044 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev9044
2004-09-23 15:36:30 +00:00
Jérôme Duval
767560b14e Splitted kb_mouse_driver.h to avoid mixing driver and settings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9043 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev9043
2004-09-23 15:35:37 +00:00
Rudolf Cornelissen
969eab3b53 added another type2 coldstart script command.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9042 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev9042
2004-09-23 14:43:53 +00:00
Axel Dörfler
6b30603314 Added the beginnings of our TTY layer.
After having had a look at our own Terminal code (former MuTerm), I even
copied the original mess in /dev/tt/ and /dev/pt/.
The /dev/tt/ entries could be created and removed on demand, though, but
that can't be done yet.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9041 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev9041
2004-09-23 13:54:20 +00:00
Axel Dörfler
a78a421de8 Renamed sleep() to spin() as that's what it does, and sleep() also doesn't
like unistd.h.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9040 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev9040
2004-09-23 13:43:57 +00:00
Rudolf Cornelissen
17cf149804 added preliminary NV40 architecture support. Test and provide feedback please!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9039 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev9039
2004-09-23 12:28:50 +00:00
Rudolf Cornelissen
ce28ad8b6c added NV45 ident.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9038 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev9038
2004-09-23 11:47:08 +00:00
Rudolf Cornelissen
98a926e626 comment update
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9037 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev9037
2004-09-23 11:46:17 +00:00
Rudolf Cornelissen
a498f03076 added card recognition for 25 new cards: NV40 and higher will not yet work (probably..)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9036 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev9036
2004-09-23 11:45:11 +00:00
Rudolf Cornelissen
9cfdd4b71f added NV40, NV41 and NV43 ident.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9035 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev9035
2004-09-23 10:20:58 +00:00
Rudolf Cornelissen
64caf8044e added 25 new cardID's to kerneldriver, including the first PCX / PCI-express cards.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9034 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev9034
2004-09-23 10:15:38 +00:00
Philippe Houdoin
755989bc95 Commit last (small) changes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9033 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev9033
2004-09-23 08:01:26 +00:00
Stefano Ceccherini
86b8a8828a Set the wheel_delta to 0, otherwise we could send "spurious" wheel movements
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9032 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev9032
2004-09-23 06:45:20 +00:00
Stefano Ceccherini
6be70a0fa1 Finally fixed the problem with the styling code: now selecting two sections of text
with a different color and change the font size works correctly.
Fixed a problem with mouse selection (a regression introduced when I fixed selection with keyboard).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9031 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev9031
2004-09-23 06:40:22 +00:00
Jérôme Duval
3b464cb0ce fixed debug macro
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9030 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev9030
2004-09-22 10:04:52 +00:00