dyoung
15bb494e45
In smap_stop(), clear IFF_RUNNING before disabling the device.
2008-03-12 17:23:13 +00:00
dyoung
f71d8b8379
Cosmetic: use device_t and accessors. Change to ANSI-style
...
prototypes. Delete some dead code.
2008-03-12 16:11:23 +00:00
dyoung
677859c28a
Print the TPPoll register when the Tx DMA engine doesn't shut down
...
in the time we allow.
2008-03-12 15:47:49 +00:00
tsutsui
21497ab14b
Sync with MI NE2000 changes:
...
> Split device_t and softc for the NE2000 Ethernet chip and all its variants
> and attachments. Use device_t accessors, correct types, and ANSIfy when
> appropriate.
2008-03-12 15:07:48 +00:00
pooka
b590aae6d8
Support chdir. This is useful for example when testing and not
...
wanting to stress namei() so much as test individual ops.
XXX: it should be implemented per calling thread, not per fs.
2008-03-12 14:49:19 +00:00
cube
cf80f73d17
Split device_t and softc for the NE2000 Ethernet chip and all its variants
...
and attachments. Use device_t accessors, correct types, and ANSIfy when
appropriate.
2008-03-12 14:31:11 +00:00
pooka
8ca4306537
Support multiple file systems within one process with ukfs by using
...
a "chroot" for each file system.
2008-03-12 11:17:33 +00:00
ad
7b0b5fdc9d
+2008 for the copyright
2008-03-12 11:05:01 +00:00
ad
2dc7c918f0
A test for the lwpctl preemption counter.
2008-03-12 11:02:21 +00:00
ad
727b89a296
Add a preemption counter to lwpctl_t, to allow user threads to detect that
...
they have been preempted.
2008-03-12 11:00:43 +00:00
mrg
3db9261484
don't need <sys/tty.h> here.
2008-03-12 05:57:28 +00:00
lukem
471f389be3
Add -I${LIBRUMPDIR} to fix objdir builds.
2008-03-12 05:11:51 +00:00
joerg
d134e844b3
libform and libmenu need libcurses.
2008-03-12 00:21:29 +00:00
dyoung
d347ff7717
Prepare for PMF self-suspension: in the if_stop() methods, clear
...
IFF_UP and IFF_RUNNING before running the 'disable' step, instead
of after. Soon I will handle the 'disable' step by calling into
PMF, which may call if_stop(, 0). Ordinarily, that is harmless.
This change lets the if_stop() routines exit early when they find
on entry that IFF_RUNNING is not set.
2008-03-11 23:58:06 +00:00
dyoung
25cf32ee3d
Use device_t and accessors.
2008-03-11 23:19:03 +00:00
joerg
cb41266e10
Depends on libcurses.
2008-03-11 23:06:04 +00:00
pooka
3f429ae81b
Compile rump_syscalls, use them in a few places.
2008-03-11 22:57:26 +00:00
pooka
a5d0e14cb0
regen this too, not that it changes except for rcsid
2008-03-11 22:55:35 +00:00
pooka
5a2a7c7039
gen
2008-03-11 22:53:54 +00:00
pooka
de0571f1e7
regen
2008-03-11 22:52:37 +00:00
pooka
5354d1092b
Add locations for rump_syscalls.[hc] files
2008-03-11 22:51:51 +00:00
pooka
f2976c3905
Generate syscalls entry points which can be called directly without
...
going through a syscall trap. These are currently useful for rumps.
As all the standard syscalls are not compiled into librump, mark
relevant ones with RUMP in syscalls.master. To do e.g. a mkdir
"system call" from a rump, one would call
rump_sys_mkdir("/dir", mode, &eval);
where the last value represents something to store errno into.
2008-03-11 22:50:10 +00:00
joerg
aa717955e2
Use CPUID2EXTFAMILY and CPUID2EXTMODEL.
2008-03-11 22:43:08 +00:00
dyoung
7f0a735df6
Use device_t and accessors.
2008-03-11 22:26:14 +00:00
dyoung
78a6c4d71a
pci_disable_retry() is now a no-op, so don't call it any more.
2008-03-11 20:55:32 +00:00
dyoung
db4f43a7cd
pci_disable_retry() is now a no-op, so don't call it any more.
2008-03-11 20:45:04 +00:00
matt
9b9164cc52
on MP systems, whenever we change a PTE, make to sync the data cache so that
...
other processors can see the change.
2008-03-11 20:44:01 +00:00
dyoung
0dddb5735e
Finish the job: pci_disable_retry() is now a no-op, so don't call
...
it any more.
2008-03-11 20:41:35 +00:00
pooka
ab7b2e9a1b
missed this
2008-03-11 20:40:58 +00:00
dyoung
5f07fde2c9
pci_disable_retry() is now a no-op, so don't call it any more.
2008-03-11 20:40:51 +00:00
joerg
e1032da53f
Don't skip ioctls with a digit in the name.
...
Add a number of conflicting entries.
Add some entries from the IPv6 stack where the used structure is not
exported to userland.
2008-03-11 20:39:57 +00:00
dyoung
e33cbf5cfc
pci_disable_retry() is now a no-op, so don't call it any more.
2008-03-11 20:39:24 +00:00
tonnerre
974efd2037
Dutifully add myself to the list
2008-03-11 19:19:14 +00:00
agc
3d22733587
Enable the alternate character set on Eterms.
...
Oh, so *that's* what dtvm and centericq should look like...
2008-03-11 18:47:57 +00:00
rmind
ca99f7a582
- Perform periodical balancing of CPU-bound threads, which tends to
...
never sleep. Should fix PR/37245 by <yamt>.
- Fix a regression - dissalow catching of bound threads. Also, allow
migration of non-bound kthreads, this restriction seems pointless.
- Few micro-optimisations, misc.
2008-03-11 18:18:49 +00:00
rmind
38b8e432cc
Add "This API is expected to be compatible with the APIs found in Solaris and
...
HP-UX operating systems" into the STANDARDS section, as discussed with <wiz>.
2008-03-11 18:09:40 +00:00
rmind
1c7eae5598
Use size_t to avoid overflow when sorting large arrays. While here, ANSIfy.
...
Obtained from FreeBSD (das@).
2008-03-11 18:04:59 +00:00
joerg
a7e72b4b2f
Avoid unaligned pci_conf_read.
2008-03-11 13:36:14 +00:00
uwe
08aeb1f9ef
Use angle brackets in UUDECODE_FILES_RENAME_<fn> as we do for other
...
file-specific variables. Start description on new line.
While here correct s/<fn>>/<fn>./ typo in a nearby item.
2008-03-11 13:33:16 +00:00
pooka
a7ece3ec53
Backup some fixes for recent breakage from local tree. Also some
...
other improvements such as exporting the real kernel namei and
using that in ukfs instead of the homegrown heap'o hacks namei.
"etcetc".
2008-03-11 10:50:16 +00:00
aymeric
fc91709981
The hpcsh kernel does for sure USE_MBR. Make disklabel use it too on hpcsh.
...
With this, it is possible to bootstrap a MBR partitioned CF card without
partitioning and disklabelling it first on another platform.
2008-03-11 08:18:22 +00:00
matt
fad3202138
This file is no longer used.
2008-03-11 05:43:35 +00:00
matt
9586b67527
Update to new world order
2008-03-11 05:43:17 +00:00
matt
dfba816635
Rototill the vax code. Switch to devicet/PRIV_ALLOC. Cleanup vax autoconf
...
code. Move to prototype definitions. staticfy, constify, avoid casting.
Use device_* accessors.
2008-03-11 05:34:01 +00:00
mjacob
0e65dd74d1
Checkpoint of some fairly major isp(4) rototilling.
...
Reintroduce more of a 'channel' concept in preparation for NP-IV support.
This gets rid of the chanA/chanB concept as the 2400 can have up to 128
virtual channels. Actually, with MID firmware you can also have the 2200
and 2300 support 'channels, but they do it with an FL-Port topology.
Because FC cards can now have 'channels', just about every support
function for fibre channel had to be redone to have a channel index
as well. Rototill isp_ioctl.h for channel stuff as well.
Pick up a lot of work about fabric management (hopefully better) and keep
work in place that will allow for dynamic attachment/detachment of devices
(if I can figure out how to make the midlayer support it).
Merge the target code with external trees. Eventually it might even
be sorted out on NetBSD.
Update some firmware stuff.
2008-03-11 05:33:30 +00:00
matt
103168eb06
foo() -> foo(void)
2008-03-11 05:31:00 +00:00
mjacob
70944bcde1
Make some changes to isp(4) options: add a disable for 2322 suppport;
...
remove the option for firmware crash dumps; add a ISP_VPORTS option
for virtual ports (24XX, coming soon).
2008-03-11 05:24:38 +00:00
matt
1746cafd1c
Add device_lookup_private() which is just device_private(device_lookup(&cd, i))
...
Most callers don't want the device_t, they want their softc and that's what
device_lookup_private returns.
2008-03-11 02:42:41 +00:00
ad
6b4e6438d8
Add casts to avoid potential compiler warnings.
2008-03-11 02:26:47 +00:00
ad
a108a15f5d
Make context switch + syscall counters optionally per-CPU and accumulate
...
in schedclock() at "about 16 hz".
2008-03-11 02:24:43 +00:00