Commit Graph

22026 Commits

Author SHA1 Message Date
Jérôme Duval
8bef760f81 create media settings directory before saving default nodes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22837 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-05 21:54:12 +00:00
Axel Dörfler
a00a1f4144 * Added the device/vendor pair of the ICH7 used in the MacBooks, courtesy of
"chrisjp", see bug #1599.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22836 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-05 17:45:31 +00:00
Stephan Aßmus
d4983ec0c8 * use BListItem::Height() consistently (clicking a nick in Vision now selects
that same nick, not a different one)
* performance improvement in Draw() (using ItemFrame() in the inner loop scales
  really bad)
* fixed scroll range for when BListItem::Height() is non-integer (scrolling
  all the way to the bottom in Visions nick list works now)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22835 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-05 15:29:25 +00:00
Axel Dörfler
5ff3d4f2db * If steal_pages() stole more than originally asked for, it might have lost those pages in the
non-reserve case.
* vm_page_allocate_page() could also lose a stolen page in case more free pages were available
  after steal_pages() was called.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22834 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-05 11:37:02 +00:00
Bruno G. Albuquerque
a66c2a2c9e Made the FreeBSD rtl8139 driver the default one and removed the other driver.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22833 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-05 11:13:27 +00:00
Ingo Weinhold
7b45b55be1 * Added back and partially reimplemented the
K{Disk,File,Partitioning}System writing methods. It is now required
  that the caller has marked the concerned partitions busy, hence we can
  (read-)access them without needing a lock. The module interfaces will
  will be changed to take advantage of the fact as well. The methods take a
  disk_job_id instead of a KDiskDeviceJob* now, though I haven't quite
  decided, whether we need it at all or just want to add a special
  handling in the cases where notifications during the operation make
  sense.
* Reimplemented the disk device write support syscalls (save
  _user_move_partition() for which other module hooks are needed). They
  call the KDiskSystem methods, now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22832 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-05 00:42:47 +00:00
Ingo Weinhold
2128ea4f31 Added IsBusy(bool) version, which optionally also checks the
descendants.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22831 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-05 00:30:14 +00:00
Ingo Weinhold
a56a0c276a Patch by Vasilis Kaoutsis: Removed redundant parameter check (sigaction()
does it anyway).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22830 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-04 17:48:49 +00:00
Bruno G. Albuquerque
8ae2f054c7 Added miibus initialization. The driver now seems to work flawleslly. Please test and report problems. Comming up next, enabling it by default.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22829 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-04 17:46:28 +00:00
Ingo Weinhold
3ee9275573 Patch by Vasilis Kaoutsis: Added tests for signal().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22828 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-04 17:46:08 +00:00
Ingo Weinhold
7154471870 Removed inline versions of sigismember(), sigaddset(), and sigdelset(). They
weren't in sync with the non-inline version in libroot anymore, and aren't
really performance-critical anyway.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22827 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-04 17:43:44 +00:00
Bruno G. Albuquerque
13f2a5fa31 First cut at a fix to the FreeBSD rtl9139 driver. Some drivers require softc to
be initialized when probe(0 is called. The driver now loads and works for a
while until it hangs. Looking into it.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22826 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-04 17:17:41 +00:00
Axel Dörfler
888514b231 * Applied our coding style.
* Made output much more readable and useful (especially with 80 characters).
* Removed useless -u option when built for Haiku.
* Added a new option -t that shows the tunables.
* Removed the hack to let be_app run - it works fine without on BeOS.
* Improved parameter parsing (now uses getopt_long()), also added long names
  for all options.
* I'm all for removing BeOS/Dano support completely from this app.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22825 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-04 14:21:12 +00:00
Axel Dörfler
21599cafab Renamed via-rhine directory to via_rhine - that's how the driver is named now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22824 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-03 23:19:30 +00:00
Axel Dörfler
f6d16d80f5 * Replaced the VIA Rhine driver in the network boot archive as well.
* Removed the old non-working VIA driver.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22823 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-03 23:10:10 +00:00
François Revol
4e44040df4 Ditto.
cleanup
Less ppc, more m68k :)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22822 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-03 21:04:42 +00:00
François Revol
1a8a803ee1 WIP
Abstracted cpu and mmu version dependant stuff (compatibility where are you) into ops like func arrays.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22821 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-03 21:02:03 +00:00
Axel Dörfler
5a4ca4d18e * Replaced old VIA Rhine driver with the new one from FreeBSD.
* Added the FreeBSD 3com driver to the image.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22820 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-03 20:49:46 +00:00
Jérôme Duval
67cf86ff49 added Haiku for telnetd login
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22819 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-03 19:13:42 +00:00
Axel Dörfler
b7d3b2fe8f * Calmed down the FreeBSD drivers even more - compat_{read|write}() no longer
print anything.
* Added (commented out) debug output to compat_control().
* Renamed variables "len" to "length" where possible.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22818 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-03 17:32:14 +00:00
Axel Dörfler
1662c6dfc9 Added ukphy fallback MII PHY driver for 3com as well.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22817 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-03 16:51:44 +00:00
Axel Dörfler
f7a7cab9e7 The promiscuous work-around is no longer needed; the MAC address is now set correctly in the filter,
so that we can receive all of our packets.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22816 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-03 16:45:49 +00:00
Axel Dörfler
e25593c034 I accidently didn't revert the delayed MII bus scan correctly which resulted in callling the
device's attach() method twice - this would let every network device that found a MII PHY fall into 
an endless loop on start. In other words 3com and VIA Rhine should now work fine.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22815 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-03 16:43:28 +00:00
Axel Dörfler
e60d7937c9 The MAC address might need to be copied to the arpcom structure as well
(the 3com driver needs this, for example).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22814 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-03 15:10:22 +00:00
Axel Dörfler
3e01ad3517 Made DELAY() fall back to spin() for times below 1000 usecs; it's often used that way, and snooze()
just wouldn't work right then.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22813 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-03 13:39:39 +00:00
Axel Dörfler
7242a223a1 * Added miibus_linkchg and miibus_mediainit methods to device_set_driver(); this was the actual
reason the MII bus did not work as mediainit was never called.
* Got rid of the delayed MII bus scanning again; not only did it not solve the problem, it was
  also completely unnecessary.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22812 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-03 13:00:12 +00:00
Axel Dörfler
38d3e0e20c Added VIA Rhine driver from FreeBSD 6.2 unchanged. It does not work yet, though, because of problems
with the MII bus support in the compatibility layer.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22811 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-03 12:07:26 +00:00
Hugo Santos
6b26fa1e80 Hm, svk shouldn't populate the destination repo. with it's local merge data..
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22810 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-03 11:55:57 +00:00
Hugo Santos
3c7287cce1 r10168@haiku-devel: hugo | 2007-11-03 12:35:29 +0100
find_route() is not really IPv4 specific.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22809 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-03 11:36:02 +00:00
Jérôme Duval
f87a6142a4 SYSCALL20 is needed on x64-64
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22808 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-02 19:18:01 +00:00
Axel Dörfler
84eb0b5f5b Delayed scanning the MII bus until the first ifm_media has been set for the
device.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22807 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-02 18:24:05 +00:00
Axel Dörfler
2949df37ae The MII stuff did not work at all, this is at least an improvement for that; apparently,
probing/attaching the MII bus should come later, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22806 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-02 18:09:02 +00:00
Axel Dörfler
1c0d11a0a7 Turned off extensive debug output, minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22805 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-02 15:47:47 +00:00
Axel Dörfler
689177bed5 Added contigfree() as well.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22804 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-02 15:07:50 +00:00
Axel Dörfler
01ada2057f Accidently messed up the vtophys() macro...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22803 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-02 15:05:12 +00:00
Axel Dörfler
00abfdbe15 * Since vtophys() is no public API in FreeBSD, vtophys() is now a macro to
pmap_kextract() not vice versa, just like it is done in FreeBSD itself.
* Added missing contigmalloc() definition for kernel drivers.
* Fixed the "*_devclass defined but not used" warning.
* Fixed warnings.
* Added/adjusted (to our style guide) the license headers for the files I
  touched.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22802 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-02 15:00:45 +00:00
Ingo Weinhold
53715fe060 * Got rid of the B_PARTITION_DESCENDANT_BUSY flag.
* Added CheckAndMarkBusy() and UnmarkBusy() methods to KPartition.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22801 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-02 00:29:46 +00:00
Ingo Weinhold
8354dac78e Folded KPhysicalPartition into KPartition. Removed the notion of shadow
partitions from the disk device manager.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22800 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-01 23:36:21 +00:00
Ingo Weinhold
327887959e * Moved partition scanning back to KDiskDeviceManager. ATM only
synchronous scanning is supported.
* Removed the disk device job support from the disk device manager.
* K{Disk,File,Partitioning}System:
  - Remove querying and validation methods.
  - Commented out the modification methods until their fate is decided.
* Removed obsolete _user_get_partitionable_spaces().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22799 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-01 22:41:22 +00:00
François Revol
c5e454a288 Add listfont
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22798 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-01 21:53:25 +00:00
François Revol
7269d269be Added a listfont command to dump fonts and their properties.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22797 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-01 21:52:58 +00:00
François Revol
8d5ab5bb5e Fixed the in8/16/32 command.
Added out8/16/32 commands.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22796 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-01 21:40:32 +00:00
François Revol
a48345971e fix building with make
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22795 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-01 21:22:53 +00:00
François Revol
078a47ed03 We now have BTextParameter even if BMediaTheme doesn't know about it yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22794 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-01 21:21:44 +00:00
Jérôme Duval
7d2666b85a added a few more syscalls arguments for _kern_create_child_partition()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22793 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-01 19:36:34 +00:00
Ingo Weinhold
07ebcc2d2b Patch by Vasilis Kaoutsis:
* Added sigignore() tests.
* Renamed names of the test executables to avoid clashes in the build system.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22792 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-01 18:12:55 +00:00
Jérôme Duval
2d01adeaf4 clean up
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22791 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-01 18:08:42 +00:00
Ingo Weinhold
c727d6fd76 Patch by Vasilis Kaoutsis: Style cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22790 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-01 18:05:22 +00:00
Ingo Weinhold
74fa73bac6 Patch by Vasilis Kaoutsis: Implemented sigignore(). Small changes by myself.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22789 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-01 18:03:36 +00:00
Jérôme Duval
d284de3249 fixed handling of parameters
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22788 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-01 18:01:10 +00:00