Commit Graph
48 Commits
Author SHA1 Message Date
Niels Sascha Reedijk 6256385fde *** empty log message ***
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11251 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-04 21:23:13 +00:00
Niels Sascha Reedijk 77a66901a8 Summary: Merge in recent changes
Keywords:

Patches applied:

 * [email protected]/usb-busses--development--0.1--patch-12
   Update/add license header

 * [email protected]/usb-busses--development--0.1--patch-13
   Changes to init routine and memory management

 * [email protected]/usb-busses--development--0.1--patch-14
   Move uhci_properties_t into its own header -- cleans up the implementation

 * [email protected]/usb-busses--development--0.1--patch-15
   Add a virtual schedule that can be used to hook in all kinds of transfers

 * [email protected]/usb-busses--development--0.1--patch-16
   Improve rh handling

 * [email protected]/usb-busses--development--0.1--patch-17
   Change module to be subclass of BusManager

 * [email protected]/usb-busses--development--0.1--patch-18
   Reimplemented the uhci root hub

 * [email protected]/usb-busses--development--0.1--patch-19
   merge with mainline


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8422 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-19 10:22:30 +00:00
Niels Sascha Reedijk 1a2e81b52c Summary: Merge in changes in busses / bus-manager loading
Keywords:

Patches applied:

 * [email protected]/usb-busmanager--development--0.1--patch-24
   Rename AllocArea to AllocateArea for consistency

 * [email protected]/usb-busmanager--development--0.1--patch-25
   Make the memory allocation routines more global and share it with the hc

 * [email protected]/usb-busmanager--development--0.1--patch-26
   Change from uint32 to addr_t to be safe on 64 bit in the future

 * [email protected]/usb-busmanager--development--0.1--patch-27
   AllocateChunk returns an area_id

 * [email protected]/usb-busmanager--development--0.1--patch-28
   Really fixing AllocateChunk now

 * [email protected]/usb-busmanager--development--0.1--patch-29
   Fix a bug where data was uninitialised when used and load debug symbols

 * [email protected]/usb-busmanager--development--0.1--patch-30
   Integrate host_controller.h

 * [email protected]/usb-busmanager--development--0.1--patch-31
   Many changes to accomodate for new bus_manager handling


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8421 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-19 10:18:35 +00:00
Niels Sascha Reedijk 99deff1da1 Create the haiku-agp package.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8419 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-19 08:58:14 +00:00
Niels Sascha Reedijk 00034667de Committed Jamfile for Rudolf's AGP module. It doesn't compile yet, but it will very, very soon...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8370 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-10 18:56:56 +00:00
Niels Sascha Reedijk 424a9bc81d Fix build -- gawk now builds
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8088 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-21 09:51:01 +00:00
Niels Sascha Reedijk 2265a3399b My own "we are haiku now"-commit:
I shall be telling this with a sigh
Somewhere ages and ages hence:
Two roads diverged in a wood, and I -
I took the one less travelled by,
And that has made all the difference
Robert Frost (The Road Not Taken)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8070 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-19 19:00:27 +00:00
Niels Sascha Reedijk 8604895e66 Fix doxygen output
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7734 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-02 09:13:21 +00:00
Niels Sascha Reedijk bb6583ad28 Patches applied:
* [email protected]/usb-busmanager--development--0.1--patch-23
   Revert to older chunk allocation mechanism: this one works


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7691 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-31 07:18:13 +00:00
Niels Sascha Reedijk 7ce4cf0866 Summary: Merged with development branch (nielx)
Patches applied:

 * [email protected]/usb-busmanager--development--0.1--patch-22
   Update/add licence header


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7689 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-30 06:50:18 +00:00
Niels Sascha Reedijk 8f99d2cbac Update licence header
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7683 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-29 21:54:45 +00:00
Niels Sascha Reedijk c1144286ba Update/add licence notice
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7678 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-29 21:23:49 +00:00
Niels Sascha Reedijk e3964db291 Summary: Merge with development branch
Patches applied:

 * [email protected]/usb-busses--development--0.1--patch-7
   Created memory area for the framelist

 * [email protected]/usb-busses--development--0.1--patch-8
   Fix the iobase offset, so that the thing actually is correct

 * [email protected]/usb-busses--development--0.1--patch-9
   Device Address 0 is reserved. 1 is the one for root hub

 * [email protected]/usb-busses--development--0.1--patch-10
   Changed packet to transfer

 * [email protected]/usb-busses--development--0.1--patch-11
   Merge with Axels changes


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7669 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-28 07:50:37 +00:00
Niels Sascha Reedijk 0f6609e85c * [email protected]/usb-busmanager--development--0.1--patch-5
Commit (in between) because of a switch of development-machines

 * [email protected]/usb-busmanager--development--0.1--patch-6
   Implement basic hub init

 * [email protected]/usb-busmanager--development--0.1--patch-7
   Implement a bit more of hub operation

 * [email protected]/usb-busmanager--development--0.1--patch-8
   Device Adress 0 is reserved for the default pipe!

 * [email protected]/usb-busmanager--development--0.1--patch-9
   Implement basic Pipe stuff

 * [email protected]/usb-busmanager--development--0.1--patch-10
   Create basic chunk allocation

 * [email protected]/usb-busmanager--development--0.1--patch-11
   Add Required util.c/util.h

 * [email protected]/usb-busmanager--development--0.1--patch-12
   Provide locking for the stack and make AllocateChunk thread-safe

 * [email protected]/usb-busmanager--development--0.1--patch-13
   Integrated util.c in stack class (cleans up a little)

 * [email protected]/usb-busmanager--development--0.1--patch-14
   Improve Pipe and give the Busmanager its default pipe

 * [email protected]/usb-busmanager--development--0.1--patch-15
   Make the Device class speed aware

 * [email protected]/usb-busmanager--development--0.1--patch-16
   Make Chunk allocation code more dynamic

 * [email protected]/usb-busmanager--development--0.1--patch-17
   Small test-commit to test if webdav is working -- ignore

 * [email protected]/usb-busmanager--development--0.1--patch-18
   Changed Packets into Transfers

 * [email protected]/usb-busmanager--development--0.1--patch-19
   Fix mistakes in host_controller.c

 * [email protected]/usb-busmanager--development--0.1--patch-20
   Advanced a little more in the Pipe stuff

 * [email protected]/usb-busmanager--development--0.1--patch-21
   Merge with mainline and add newlines at the end of files


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7668 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-28 07:46:35 +00:00
Niels Sascha Reedijk 30b76b5b16 Start cleaning up driver by splitting the file and put the registers
somewhere else


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7626 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-22 18:31:21 +00:00
Niels Sascha Reedijk 746ef8017d Unbork the build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7508 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-10 19:52:45 +00:00
Niels Sascha Reedijk 7e2eb72f9a Forgot this one too
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7195 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-13 06:28:56 +00:00
Niels Sascha Reedijk 3a02ba00db Forgot this one
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7194 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-13 06:28:14 +00:00
Niels Sascha Reedijk 8b485af874 Summary: Continued work on hub initialisation
Keywords:

Patches applied:

 * [email protected]/usb-busmanager--development--0.1--patch-5
   Commit (in between) because of a switch of development-machines

 * [email protected]/usb-busmanager--development--0.1--patch-6
   Implement basic hub init

 * [email protected]/usb-busmanager--development--0.1--patch-7
   Implement a bit more of hub operation


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7193 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-13 06:27:32 +00:00
Niels Sascha Reedijk df870398e8 Summary: Several changes to the root hub managing code
Keywords:

Patches applied:

 * [email protected]/usb-busses--development--0.1--patch-4
   Commit because of switch of development machines

 * [email protected]/usb-busses--development--0.1--patch-5
   Support for hub descriptors

 * [email protected]/usb-busses--development--0.1--patch-6
   Some more hub-management code


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7192 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-13 06:23:18 +00:00
Niels Sascha Reedijk e586f3a680 Apparantly, the build is stricter when you start it from the root of the tree.
It only complains of an undefined function (dprintf) when I use jam from there,
not when I start it in this subdir.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5941 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-06 19:51:14 +00:00
Niels Sascha Reedijk 8deb422714 Fix compilation error:
/boot/home/openbeos-cvs/stable/src/add-ons/kernel/network/ppp/shared/libkernelppp/KPPPLCP.cpp: In method `status_t PPPLCP::Receive(struct mbuf *, short unsigned int)':
/boot/home/openbeos-cvs/stable/src/add-ons/kernel/network/ppp/shared/libkernelppp/KPPPLCP.cpp:221: implicit declaration of function `int printf(...)'

{We're in kernel land now, so we use dprintf instead of printf}


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5940 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-06 19:45:13 +00:00
Niels Sascha Reedijk 38c567ca83 Small build fix
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5939 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-06 19:26:25 +00:00
Niels Sascha Reedijk 5e821a67af Remove the resize box from a non-resizable window.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5905 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-04 20:21:56 +00:00
Niels Sascha Reedijk 2743316489 Fixed bug [ 865891 ] Strange Scrollbar Layout in "Inspector"
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5900 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-04 11:57:26 +00:00
Niels Sascha Reedijk a8e3915591 *
[email protected]/usb-busmanager--development--0.1--patch-1
   Implement basic Busmanager loader modules
 *
[email protected]/usb-busmanager--development--0.1--patch-2
   Continue shaping up some things
 *
[email protected]/usb-busmanager--development--0.1--patch-3
   Continued device initialisation
 *
[email protected]/usb-busmanager--development--0.1--patch-4
   Finalised the device initialisation


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5832 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-30 14:59:45 +00:00
Niels Sascha Reedijk 07b15fef0c * [email protected]/usb-busses--development--0.1--patch-1
Fix things up before big changes
 * [email protected]/usb-busses--development--0.1--patch-2
   Continued development on device initialisation
 * [email protected]/usb-busses--development--0.1--patch-3
   Finished Driver initialisation


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5831 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-30 14:53:24 +00:00
Niels Sascha Reedijk bce0d4191a Fix various warnings
(trivial)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5716 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-20 13:20:34 +00:00
Niels Sascha Reedijk b9a05f7f4c Summary: Fix a lot of warnings in apps (merge from fixes-branch)
Keywords:

Patches applied:

 * [email protected]/bin-applications--fixes--0.1--base-0
   tag of [email protected]/bin-applications--mainline--0.1--base-0

 * [email protected]/bin-applications--fixes--0.1--patch-1
   Fix warning

 * [email protected]/bin-applications--fixes--0.1--patch-2
   Fix warning in roster.cpp

 * [email protected]/bin-applications--fixes--0.1--patch-3
   Fix warning in clipboard.cpp

 * [email protected]/bin-applications--fixes--0.1--patch-4
   Fix warning in shutdown.cpp (trivial)

 * [email protected]/bin-applications--fixes--0.1--patch-5
   Fix warnings in chop.c (trivial)

 * [email protected]/bin-applications--fixes--0.1--patch-6
   Trivial warning fix in eject.c

 * [email protected]/bin-applications--fixes--0.1--patch-7
   Trivial warning fix in hd.c

 * [email protected]/bin-applications--fixes--0.1--patch-8
   Trivial warning fixes in listarea.c

 * [email protected]/bin-applications--fixes--0.1--patch-9
   TRIVIAL: Fix warning in listimage.c

 * [email protected]/bin-applications--fixes--0.1--patch-10
   TRIVIAL warning fix in listport.c

 * [email protected]/bin-applications--fixes--0.1--patch-11
   TRIVIAL fix in listsem.c

 * [email protected]/bin-applications--fixes--0.1--patch-12
   TRIVIAL fix in mount.c

 * [email protected]/bin-applications--fixes--0.1--patch-13
   Trivial fix in prio.c

 * [email protected]/bin-applications--fixes--0.1--patch-14
   TRIVIAL changes in ps.c

 * [email protected]/bin-applications--fixes--0.1--patch-15
   TRIVIAL fix in renice.c

 * [email protected]/bin-applications--fixes--0.1--patch-16
   TRIVIAL fix for rescan

 * [email protected]/bin-applications--fixes--0.1--patch-17
   TRIVIAL fix in sysinfo.c

 * [email protected]/bin-applications--fixes--0.1--patch-18
   TRIVIAL fix in unchop.c

 * [email protected]/bin-applications--fixes--0.1--patch-19
   TRIVIAL fix in chkbfs

 * [email protected]/bin-applications--fixes--0.1--patch-20
   TRIVIAL fixes for listdev

 * [email protected]/bin-applications--fixes--0.1--patch-21
   TRIVIAL fixes in pc


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5557 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-03 20:02:15 +00:00
Niels Sascha Reedijk 859c1f0198 Summary: Fix numerous warnings in codycam (merge from fixes branch)
Keywords:

Patches applied:

 * [email protected]/codycam--fixes--0.1--base-0
   tag of [email protected]/codycam--mainline--0.1--base-0

 * [email protected]/codycam--fixes--0.1--patch-1
   Fix numerous warnings in codycam


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5556 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-03 19:57:59 +00:00
Niels Sascha Reedijk 365d034c1e Update the doc to confirm better to my plan.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5226 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-01 12:20:43 +00:00
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
Niels Sascha Reedijk a82ea040d1 Did some more designing:
- Borrowed the UHCI basic theory of operation from the freebsd handbook
- Started some work on the internals of devices


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4279 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-14 17:58:13 +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
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
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
Niels Sascha Reedijk 2c5845b559 Improved the way that version id's were parsed. Also added version id for the
rtl8139D. Phillipe, let's start testing!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3596 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-22 18:55:13 +00:00
Niels Sascha Reedijk 32af767502 Update build documentation to acknowledge the new 'jam install-networking' rule
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3595 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-22 18:09:15 +00:00
Niels Sascha Reedijk 93780ea379 Implemented free hook. The driver now cleanly works when the net_server is restarted via the Network preference panel.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3577 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-19 14:52:59 +00:00
Niels Sascha Reedijk 26e367740a Fix an issue where the _res symbol is undeclared due to another symbol with
the same name somewhere else( I think). At least it works now.  Renamed
to _resolve_configuration (probably will never clash with anything else ever)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3565 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-18 19:03:37 +00:00
Niels Sascha Reedijk 3ffe393cd6 Fix an issue where the _res symbol is undeclared due to another symbol with
the same name somewhere else( I think). At least it works now.:


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3564 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-18 19:01:09 +00:00
Niels Sascha Reedijk 6ad250bc87 In theory the driver should now work. though I'm not really buying it yet, I
think that it shouldn't drop any packets anymore (only delay them)
- I implemented a packet wrap, so after 64k the driver will start over again
- I fixed a bug where packets with the largest ethernet frame size (1514)
  weren't accepted.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3561 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-18 10:45:52 +00:00
Niels Sascha Reedijk 1a20f41c7e I DID IT
Sorry for the enthousiasm. For the first time in my life a made a driver
somewhat work. There's still a major list of things to do, but at least I
feel safer now that this is working. I can already do pings. Moreover, I'm
doing this commit with my own driver. I'm just ashamed for the major mistake
I made that took me so much time to find. I'm off sending this beast to
testers.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3555 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-17 14:02:51 +00:00
Niels Sascha Reedijk b1045c6e31 Fix dprintf warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3554 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-17 13:42:32 +00:00
Niels Sascha Reedijk 1e90e22397 Updated build instructions. This may attract more testers of the network kit.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3532 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-16 04:44:15 +00:00
Niels Sascha Reedijk a068a53e10 Update TODO accordingly
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3527 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-15 20:10:43 +00:00
Niels Sascha Reedijk 99e393eacc I have changed the way packet reception is handled. Instead of managing it at
the interrupt handler, now it is done in the read_hook itself. This means that
less memory is used because the packet reception isn't double-buffered anymore.
It also wasn't the performance it I'd expect it to be (probably thanks to BeOS
scheduling!). The problem with the strange loss of around 50% of the packets
remains.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3526 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-15 20:10:09 +00:00