1108 Commits

Author SHA1 Message Date
Niels Sascha Reedijk
6a7f7ee06f The RTL8139 driver is now fully WORKING!!!
I have made an (ugly) hack around the transmit problem (but then again, aren't
hacks ugly all the time?). I still don't know if this is the proper thing, but
the point is that it seems to work now. I don't know if it is my mistake or
the cards mistake that I cannot schedule more than one write at a time, but
I'm looking into this. I don't know the difference in performance between this
driver and the one in R5, but I'm guessing this one's still a bit slower. I'll
continue to hack the driver in order to maximize performance.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4364 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-23 10:56:44 +00:00
Jérôme Duval
e9ac8260a6 ac97 functions fixed
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4358 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-21 09:23:41 +00:00
Axel Dörfler
ffbc2ebc23 Moved the driver initialization from init_hardware() to the more common
init_driver() - also added a matching uninit_driver() (just in case :)).
Replaced in8()/out8() with calls to the ISA bus manager (NewOS change 1804).
Removed unused includes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4301 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-18 03:53:01 +00:00
Niels Sascha Reedijk
1501c2bf3e This is just an outline of the USB stack: what it is going to look like. It is definately not
ready for testing. Also the documentation is far from complete (it's in it's early phases).
Unfortunately I don't have enough experience in hardware programming to prototype
it first, so I'll be testing the things that I design in the document.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4275 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-12 20:36:24 +00:00
Tyler Dauwalder
282644b3ec Initial timestamp support.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4232 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-05 07:39:10 +00:00
Tyler Dauwalder
fb8ce46910 Added make_time(), which converts a udf_timestamp() to a time_t.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4231 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-05 07:38:35 +00:00
Tyler Dauwalder
a0ff5accb6 Added AccessTime() and ModificationTime().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4230 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-05 07:37:10 +00:00
Tyler Dauwalder
83d7be1c6f Fixed some oversights in udf_timestamp.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4229 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-05 07:36:36 +00:00
Tyler Dauwalder
aa02972ee8 Implemented:
udf_open_dir()
udf_read_dir()
udf_free_dir_cookie()
udf_open()
udf_read()
udf_walk()
and possibly others.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4160 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-31 07:01:49 +00:00
Tyler Dauwalder
a71fd51283 _Map*() -> Map*()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4159 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-31 07:00:45 +00:00
Tyler Dauwalder
8338064665 Conversion functions actually work now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4158 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-31 07:00:04 +00:00
Tyler Dauwalder
3dc4d42634 Implemented file reading
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4157 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-31 06:59:21 +00:00
Tyler Dauwalder
928e05006d - More endianness stuff
- More file entry flags


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4156 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-31 06:58:49 +00:00
Tyler Dauwalder
dcd9a8054b Implemented actual iteration.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4155 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-31 06:57:36 +00:00
Tyler Dauwalder
11e12e9088 New constructor that accepts c-strings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4154 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-31 06:57:02 +00:00
Tyler Dauwalder
f7e948c39a Buffer cache headers for R5
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4153 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-31 06:56:30 +00:00
Tyler Dauwalder
e0c62c0f66 Initial checkin. Stolen from BFS and then touched up so no one will notice.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4152 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-31 06:56:12 +00:00
Tyler Dauwalder
9787066de4 Initial checkin. Manages access to the different types of allocation descriptors supported.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4151 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-31 06:55:35 +00:00
Ingo Weinhold
738e4a700b Support for the added partition content size attribute.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4128 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-30 00:21:21 +00:00
Ingo Weinhold
ee1ebe375c * Added ShadowPartitionChanged() to KDiskSystem and respective hooks
to the module interfaces. So the disk system will be informed, when a
  shadow partition has changed and it is allowed to do necessary
  adjustions (e.g. adjusting the cookie, the parameters, or on
  partitioning system initialization even creating special child
  partitions (apple partitioning system)).
* Added `int32 *index' parameter to ValidateCreateChild(). So the
  partitioning system can report at which index the new child shall be
  inserted.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4065 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-24 22:53:23 +00:00
Ingo Weinhold
d3774a9b93 The content_type field in partition_data is now set by the system. Implemented querying hooks for resizing a child partition of the partition map.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4048 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-22 00:16:13 +00:00
Ingo Weinhold
9cd06f3a38 The content_type field in partition_data is now set by the system (to the disk system's pretty name).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4047 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-22 00:14:01 +00:00
Jérôme Duval
ce020bad2c Levels fixed. Audigy now supported.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4038 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-21 08:44:01 +00:00
Ingo Weinhold
3ee6c178d5 Some fixes of/changes to the API. Shortened names where possible.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4030 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-20 17:17:00 +00:00
Ingo Weinhold
708a31badf Added SupportsSetting[Content]Parameters() to the KDiskSystem interface and respective functions to the module interface. Some re-ordering of methods/functions for aesthetical reasons. :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4019 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-19 20:29:58 +00:00
Ingo Weinhold
18b90323d9 Added flags for disk systems.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4009 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-18 18:41:21 +00:00
Ingo Weinhold
1f3f1294a8 Added a IsSubSystemFor() method to the KDiskSystem interface and respective calls for the module interfaces.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3996 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-16 21:00:01 +00:00
Niels Sascha Reedijk
e04ee402d2 Nothing more todo...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3994 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-16 18:55:59 +00:00
Niels Sascha Reedijk
5767925f0e Sync with local repository:
1.23: fix some compile errors on PPC
1.24: Finalising some PPC changes. In theory it should work
1.25: Second round of PPC fixes. I hope it works now.
1.26: Adding the reset function when there are rx problems
1.27: Added the chip id for the 8101L
1.28: Minor code cleanup
1.29: Implemented multipe card support
1.30: drop some debug output
1.31: FINALLY fixed the receive problem (where large packets slow down
      everything)
What remains to be done is to fix the transmit bug, where the card
suddenly stops to send packets (after it gets behind by one).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3993 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-16 18:55:26 +00:00
Ingo Weinhold
0fbb290f51 Some changes to/fixes of the KDiskSystem interface and the disk system module interface.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3987 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-15 21:41:32 +00:00
Tyler Dauwalder
09405cc9e2 - Added missing #include <stdio.h>
- Fixed sprintf warning


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3945 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-10 19:54:06 +00:00
Tyler Dauwalder
04062eb904 Added kernel utils to header search path
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3944 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-10 19:52:56 +00:00
Tyler Dauwalder
865abd0ebc Added DirectoryIterator.cpp and Utils.cpp to the build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3943 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-10 19:48:22 +00:00
Tyler Dauwalder
981aa8f472 Initial implementations of:
- udf_get_vnode()
- udf_release_vnode()
- udf_walk
- udf_open_dir()
- udf_read_dir()


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3942 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-10 19:47:31 +00:00
Tyler Dauwalder
b8f1212a91 Added Type(), IsFile(), IsDirectory(), and GetDirectoryIterator()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3941 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-10 19:43:57 +00:00
Tyler Dauwalder
267fd7e7d1 Addded Philips UDF verifier link
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3940 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-10 19:42:26 +00:00
Tyler Dauwalder
42ba13e82b Directory iterators.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3939 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-10 19:41:45 +00:00
Tyler Dauwalder
24ec5f4377 Udf utility functions
- Added vnode_id to udf_long_address (and vice-versa) conversion functions


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3938 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-10 19:41:03 +00:00
Philippe Houdoin
2a1f1e5a23 Export socket_shutdown from stack core module.
Fix and build again net_server_driver.
Rollback to NET_STACK_GET_COOKIE trick for accept() implementation.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3926 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-10 01:07:21 +00:00
Ingo Weinhold
c54d68a84e Should have waited a few more minutes... Renamed the methods {B,K}Partition::Is{Mountable,Partitionable}() to Contains{File,Partitioning}System(). Similar change for the respective flags (B_PARTITION_{MOUNTABLE,PARTITIONABLE}).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3899 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-08 17:38:45 +00:00
Ingo Weinhold
55bf93d80d Fixed handling of partition and device flags and statuses.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3898 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-08 17:25:32 +00:00
Niels Sascha Reedijk
d1becfd8a4 Made the modifications needed to make this driver platform independant
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3890 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-07 15:01:55 +00:00
Tyler Dauwalder
6c92bff25c Finished up udf_mount(), added udf_release_node()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3835 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-04 06:24:20 +00:00
Tyler Dauwalder
d2e3d64aa6 Got rid of throw()'s
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3834 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-04 06:23:37 +00:00
Tyler Dauwalder
3f4628f1ae Finished up initial volume recognition implementation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3833 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-04 06:22:15 +00:00
Tyler Dauwalder
8279a93bdb - Added CF_HELPER category
- Updated DUMP_INIT to automatically add the CF_DUMP category


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3832 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-04 06:21:04 +00:00
Tyler Dauwalder
f0f808aff1 UDF -> Udf namespace change
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3831 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-04 06:19:29 +00:00
Tyler Dauwalder
7e57ce9132 Added StaticMemoryChunk class
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3830 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-04 06:18:10 +00:00
Tyler Dauwalder
e90fa96289 Added Icb.cpp and CS0String.cpp
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3829 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-04 06:17:30 +00:00
Tyler Dauwalder
d0da916694 More endianness support and debugging dump functions
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3828 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-04 06:16:35 +00:00