840 Commits

Author SHA1 Message Date
Tyler Dauwalder
3b9617bcc4 Initial checkin. Mostly empty implementation of UDF 2.01 sparable partitions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5232 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-02 01:13:15 +00:00
Tyler Dauwalder
04106297aa Initial checkin. Mostly complete implementation of UDF 2.01 physical partitions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5231 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-02 01:12:31 +00:00
Tyler Dauwalder
9be2e8bd9e Initial checkin. Mostly empty implementation of UDF 2.50 metadata partitions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5230 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-02 01:11:39 +00:00
Tyler Dauwalder
c75570328b Initial checkin. Abstract base class for various partition types.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5229 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-02 01:05:25 +00:00
Philippe Houdoin
f0d1aa5337 Fix crash when running ifconfig: ifconf struct ioctl() argument wasn't
mapped correctly thru IPC channel...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5216 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-30 23:12:14 +00:00
Axel Dörfler
b8fdbb4fff The driver no longer crashes the system when it couldn't allocate its
resources.
It's now smarter and only initializes the random generator when the
device is opened, not in init_driver().
init_driver() assumed that this driver could not be opened under another
team as the kernel (which does not have to be true when it's rescanned).
Some more cleanup.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5210 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-28 23:10:08 +00:00
Axel Dörfler
211e612940 Big cleanup, rearranged code, removed unused/superfluous stuff, removed portability
defines (this code is supposed to run under BeOS only). Moved to our coding style guidelines.
Fixed all warnings.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5209 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-28 22:57:39 +00:00
Tyler Dauwalder
15851e7a48 Added descriptive tag id names to tag dumps.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5180 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-27 23:41:36 +00:00
Philippe Houdoin
acb7e134d4 Fix warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5170 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-25 23:19:52 +00:00
Philippe Houdoin
68d8b27d8c Fix warnings. And a possible crashing (memory corruption) bug, too.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5169 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-25 22:48:15 +00:00
Philippe Houdoin
eb8b30128e Add new control_net_module_args to global stack_driver_args union.
Report this change in the stack driver code, to keep consistent
code.
TODO: Implement NET_STACK_CONTROL_NET_MODULE in net_server_driver.c too!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5163 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-25 21:24:03 +00:00
Waldemar Kornewald
a10a3d49d6 Fixed BUG in FindUnit() and Register/UnregisterInterface().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5160 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-25 13:00:28 +00:00
Waldemar Kornewald
20826c8ed2 Fixed BUG in if_detach.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5159 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-25 12:58:49 +00:00
Waldemar Kornewald
52fad5f56b Use the NET_STACK_DRIVER_PATH environment variable if available.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5157 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-25 10:13:51 +00:00
Waldemar Kornewald
8f79376c49 Allow to build as userland add-on.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5151 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-24 21:28:10 +00:00
Waldemar Kornewald
ad0928ebe3 Allow to build as userland modules.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5150 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-24 21:18:53 +00:00
Waldemar Kornewald
b0bff411f1 Bug fixes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5148 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-24 20:08:56 +00:00
Axel Dörfler
7f29148da0 You can now specify the link mode in the driver_settings for sis900. Supported
are duplex={full|half|auto} and speed={1|10|100|auto} - please note that you
either have to specify both as auto or none of them, or else it will fall
back to auto negotiation.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5147 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-24 16:51:24 +00:00
Waldemar Kornewald
152327e1a6 Changes for net module control() support.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5124 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-23 18:08:53 +00:00
Waldemar Kornewald
5a4503c3ff Added PPPoE module.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5121 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-23 18:01:36 +00:00
Waldemar Kornewald
4fbbad3009 The beginnings of libppp.a. This is a userland library to talk to the PPP stack. It hides the ioctl() stuff from the user.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5120 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-23 17:59:38 +00:00
Waldemar Kornewald
e745242193 Mostly fixes and smaller API changes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5119 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-23 17:56:14 +00:00
Waldemar Kornewald
f378b1b9c8 BUG fix.
Small changes for PPP.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5118 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-23 17:53:29 +00:00
Waldemar Kornewald
d7fa7da88b Some fixes and small changes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5117 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-23 17:51:49 +00:00
Waldemar Kornewald
ab5bf14914 Added support for PPPoE.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5116 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-23 17:51:20 +00:00
Waldemar Kornewald
0fc3ae8c5c Finished PPP interface manager module.
TODO:
 - IPCP protocol module
 - PAP authentication module
 - PPPoE device module
 - pppdial cmd-line app including needed net_stack_driver changes for control() function support
 - tests, tests, tests :))


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5040 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-15 16:01:40 +00:00
Waldemar Kornewald
77f15b8315 Implemented some methods.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5031 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-14 13:48:41 +00:00
Waldemar Kornewald
d6a3da1874 Initial commit of very skeletal ppp interface module.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5030 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-14 12:55:28 +00:00
Waldemar Kornewald
b80f17599b Added control() function (as NULL pointer).
Fixed warnings.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5029 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-14 12:24:50 +00:00
Waldemar Kornewald
5a10f7ebb4 Added control() function (as NULL pointer).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5028 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-14 12:24:28 +00:00
Waldemar Kornewald
d73f313295 Added control() function (as NULL pointer).
Fixed some warnings.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5027 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-14 12:23:57 +00:00
Waldemar Kornewald
eb5d50b665 Added support for controlling modules.
Fixed warnings.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5026 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-14 12:23:09 +00:00
Waldemar Kornewald
f5ef266db8 Replaced direct access to max_xxx variables with get/set_max_xxx.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5025 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-14 10:15:31 +00:00
Waldemar Kornewald
13b219e125 Added get/set_max_xxx functions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5024 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-14 10:14:57 +00:00
Jérôme Duval
27f94d1dcc Added a FX0/1 recording control so that output recording is possible on Audigies
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5011 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-13 16:06:14 +00:00
Axel Dörfler
8fd45ead7a Some additional debug output.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4956 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-06 03:49:06 +00:00
Waldemar Kornewald
92a8026e02 As the netstack has a bug I cannot work on the interface module before this is fixed. So I changed the API of the libkernelppp.a (although, this was planned for a later release).
PPPEncapsulator was removed. PPPProtocol is now a protocol and an encapsulator.
PPPDevice, PPPProtocol, and PPPInterface derive from PPPLayer. This base class simplifies the packet passing process and gives PPPDevice more flexibility as it now can add layers between itself and PPPInterface (which was not possible before). This feature will probably be used by the HDLC framing module.
Also, PPPProtocol will always send to the next layer which might either be another protocol, an encapsulator protocol, or the PPPInterface. No distinction is necessary anymore.

This all reduced the list template usage and made some methods simpler.
With this step I could reduce the size of the libkernelppp.a binary from >200K to 143K.

Now, I will go hunting bugs! :)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4928 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-02 09:18:47 +00:00
beveloper
038616df89 updated to version 1.6c
fixed capability checking
no longer set clock rate if codec doesn't support continuous frame rates


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4914 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-01 16:55:46 +00:00
beveloper
209d967508 added decoding of PCI class
included use of PCI Header file with vendor/device information


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4876 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-30 19:34:50 +00:00
beveloper
2ec8c35cc5 removed invalid entries, excluded unused tables
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4875 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-30 19:33:31 +00:00
beveloper
1989667e2e added output of pci device info
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4874 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-30 00:43:36 +00:00
beveloper
3d262ee9fb added reading of configuration
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4873 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-29 23:28:02 +00:00
beveloper
7e277be485 improved implementation of pci_ram_address()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4872 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-29 23:27:31 +00:00
beveloper
51e44e6ee4 added missing include file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4864 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-29 20:15:00 +00:00
beveloper
79f40e4322 renamed line into pin, since in PCI terminology, IRQ interrupt number == line, and the physical interrupt wire == pin
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4862 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-29 19:09:32 +00:00
beveloper
1aad0f29d1 added locking
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4860 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-29 19:06:40 +00:00
beveloper
ee3ca5c227 include new files and kernel C++
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4859 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-29 19:02:34 +00:00
beveloper
3348f6b7fa basic pci information
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4858 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-29 19:01:31 +00:00
beveloper
f4b84940c0 PCI Vendors, Devices, and Class Type information from http://www.yourvote.com/pci
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4857 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-29 19:00:09 +00:00
beveloper
9b4ce42bf2 new PCI bus scanning & configuration code as C++ class
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4856 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-29 18:58:51 +00:00