Josef Karthauser
3b7c548b4b
Avoid passing the optional ifconfig arguments to dhcpc as well as ifconfig.
...
This bug has been here since revision 1.8.
2000-10-16 19:03:48 +00:00
Bill Paul
707f355368
Remove an errant splimp() that I missed when I went through this driver
...
the first time.
2000-10-16 18:51:32 +00:00
Nick Hibma
ebcc7b37d5
Undo previous commit. <machine/clock.h> is needed for the prototype
...
for DELAY().
2000-10-16 18:50:00 +00:00
Nick Hibma
b425e31947
Sync with NetBSD:
...
K&R -> ANSI
Bugfix: 'Keep the bit position even when the report descriptor says POP.'
Add hid_use_report_desc, hid_parse_usage_page, hid_parse_usage_in_page.
Changed iface for hid_report_size.
2000-10-16 18:13:59 +00:00
Nick Hibma
8b677600f9
Sync with NetBSD:
...
Add more Usages.
2000-10-16 17:45:27 +00:00
Nick Hibma
b78cc80b0d
Sync with NetBSD:
...
Add seatbelts.
Be more lenient towards restarting the ports: If a port manages to connect
successfully reset the restartcount.
2000-10-16 17:40:59 +00:00
Brian Somers
0910581ff1
Move __uint16_swap_uint32, __uint8_swap_uint32 and
...
__uint8_swap_uint16 inside __GNUC__.
Reviewed by: bde
2000-10-16 17:06:48 +00:00
Doug Rabson
e296c9c9f7
In pmap_remove_pv(), only manipulate the page's list if the pv is
...
managed.
2000-10-16 17:06:32 +00:00
Doug Rabson
85a25ab3d5
Do a full exception_restore after an execve syscall to ensure that the
...
new program gets the right values for its arguments etc.
2000-10-16 17:03:51 +00:00
Doug Rabson
4f8d61b521
Clear the register stack frame before using loadrs to invalidate the
...
stacked registers.
2000-10-16 16:59:32 +00:00
Doug Rabson
48ac0f7c79
Clear ar.pfs for the child process in cpu_fork - switch_trampoline
...
doesn't want a stack frame.
2000-10-16 16:55:59 +00:00
Doug Rabson
84dc1ae7fc
Return zero from setjmp() and _setjmp() for now.
2000-10-16 16:51:50 +00:00
Doug Rabson
6b7d87d9e1
Fix a couple of dumb mistakes.
2000-10-16 16:48:48 +00:00
Nick Hibma
8df2823bfe
Merge from stable: Update of comments
2000-10-16 16:38:04 +00:00
Andrew Gallatin
68ab2e8672
The previous commit broke kernel builds on alpha (and probably ia64).
...
#ifdef away the offending code until somebody with more newbus fu than
me can figure out where to put a default function that returns 255
without touching each alpha chipset driver..
2000-10-16 15:38:11 +00:00
David E. O'Brien
146a7d5318
"Ok, my loader's now up to putting up a prompt. It probes disks partially
...
but can't boot from them yet."
Thanks to Stephane Potvin for the some of the code in this set.
Submitted by: Benno Rice <benno@jeamland.net>
2000-10-16 10:46:22 +00:00
Ruslan Ermilov
cb22e4fad5
Backed out part of the revision 1.10.
...
BLOCKSIZE could specify arbitrary block sizes, not exactly 1K blocks.
2000-10-16 10:00:50 +00:00
Doug Rabson
9c4e05709a
Track changes to trapframe.
2000-10-16 09:18:05 +00:00
Brian Somers
d7dcad45d7
Include sys/types.h
2000-10-16 09:14:44 +00:00
Doug Rabson
7fcf71bc40
* Correct some of my misunderstandings about how best to switch to the
...
kernel backing store.
* Implement syscalls via break instructions.
* Fix backing store copying in cpu_fork() so that the child gets the right
register values.
This thing is actually starting to work now. This set of changes takes me
up to the second execve (the one which runs the first shell). Next stop
single-user mode :-).
2000-10-16 08:54:40 +00:00
Ruslan Ermilov
df4443ffa6
Added support for i815.
2000-10-16 08:53:00 +00:00
Doug Rabson
2e8a70354f
Use the right mask for extracting sof from cr.ifs.
2000-10-16 08:47:56 +00:00
Doug Rabson
eded8b5cfa
Remember to re-initialise cr.itm on clock interrupts so that we get more
...
than just one tick.
2000-10-16 08:46:57 +00:00
Doug Rabson
ecfff41c65
Merge a fix from the alpha port - put softintr in the right place in the
...
table.
2000-10-16 08:45:45 +00:00
Doug Rabson
a3f05798c1
Give names to app registers and control registers. Fix a typo handling
...
mov from branch register instructions.
2000-10-16 08:44:34 +00:00
Brian Somers
fe4f4f067a
Include sys/types.h
2000-10-16 08:28:50 +00:00
Brian Somers
bff9e230c6
Include sys/types.h
2000-10-16 08:22:42 +00:00
Josef Karthauser
20841b5823
Update the crunch config:
...
* 'more' is now 'less'.
* telnet required libipsec.
This won't necessarily fit on a floppy, but at least it compiles now.
2000-10-16 08:21:35 +00:00
Brian Somers
aab6541484
Include sys/types.h
2000-10-16 08:13:59 +00:00
Josef Karthauser
72d93b8e80
Build the PICOBSD kernels using the 'make buildkernel' method.
2000-10-16 08:08:31 +00:00
Warner Losh
9344caaf08
First cut at allocating the resources from the CIS after the probe, but
...
before the attach. Things aren't completely working, but this is a good
checkpoint.
Also, initialize the dev member of the function as soon as we add it
to the parent.
2000-10-16 07:51:12 +00:00
Warner Losh
a37932521c
Remove debug writes introduced in prior commit
2000-10-16 07:31:13 +00:00
Warner Losh
54c9005faf
Add the ability to use the $PIR table in the BIOS to route interrupts
...
on demand.
Submitted by: msmith
2000-10-16 07:25:08 +00:00
Warner Losh
9bf4bbcaf7
When a pci device hasn't had an interrupt routed to it (signified by
...
the intline of 255) go ahead and route the interrupt when we allocate
an interrupt.
Submitted by: msmith
2000-10-16 07:24:00 +00:00
Brian Somers
0d8188ce22
Include sys/types.h
2000-10-16 07:11:30 +00:00
Brian Somers
ebe53e9e4e
Add netnatm to LDIRS
...
Submitted by: Makoto MATSUSHITA <matusita@jp.FreeBSD.org>
2000-10-16 07:00:18 +00:00
John W. De Boskey
991c4ad814
Style fix only.
...
init 6 vs. /sbin/reboot problem still exists (pr 14829)
Submitted by: Doug Barton <DougB@gorean.org>
2000-10-16 06:16:44 +00:00
John W. De Boskey
3fc79ca179
Set new default: entropy_file="/entropy"
...
with /var/db/entropy being a hardcoded backup.
Submitted by: Doug Barton <DougB@gorean.org>
Approved by: markm
2000-10-16 04:45:47 +00:00
John W. De Boskey
bfb80de42d
Having played with this commit request for a few hours, I've
...
convinced myself that it's better then what we have, but still
not perfect.
/etc/rc : Attempt to seed /dev/random with multiple backoffs.
/etc/rc.shutdown : Attempt to write the entropy_file.
In debugging the above changes, I've run into some
inconsistancies... rc.shutdown is run via 'init 6', but
does not appear to be run via '/sbin/reboot'. Thus, this
set of changes improves life depending on the mechanism
used to shut the system down.
Submitted by: Doug Barton <DougB@gorean.org>
Approved by: markm
2000-10-16 04:44:35 +00:00
Bill Paul
67db683bc9
Fix one instance of XL_LOCK() that should have been XL_UNLOCK(). After
...
doing this so many times, I guess I was entitled to at least one typo.
Thanks to all who spotted this.
2000-10-15 21:15:38 +00:00
Brian Somers
f91f965e85
include <sys/types.h>
2000-10-15 20:49:53 +00:00
Josef Karthauser
1e2b0ddcfa
Fix the PICOBSD kernel configs. They're now converted to use
...
Peter's new format, and I'd added hints files for each.
The build process uses the PICOBSD.hints file as well as the config,
and additionally builds with -DNO_MODULES. The build process
probably needs to be converted to use the 'buildkernel' method
instead of running config itself.
The kernels now compile. I've not been able to test the crunch
process however because it used the vn driver and there are no
/dev/vn device nodes under devfs yet. Maybe someone else could
give it a go.
2000-10-15 20:42:22 +00:00
Marcel Moolenaar
603fa52221
Fix RAW dependency violation on p6 between cmp and mov.
2000-10-15 20:33:41 +00:00
Mike Smith
1b97a6c6a9
Network modules are all "if_foo" not "foo". Avoid the confusing spew that
...
ensues when ifconfig tries to load if_ed.ko when it's already in the kernel.
2000-10-15 20:23:27 +00:00
Brian Somers
9c8ec4f794
#include <sys/types.h>
2000-10-15 20:04:09 +00:00
Brian Somers
abf94dbd10
Remove namespace polution (x -> __x) introduced in the last
...
revision.
Pointed out by: bde
2000-10-15 19:31:24 +00:00
Brian Somers
f68d731adb
BPF wants packets in host byte order whereas TUN_IFHEAD wants them
...
in network byte order.
When we've got TUN_IFHEAD set, swap the AF byte order before passing
a packet to bpf_mtap().
2000-10-15 18:49:17 +00:00
Bosko Milekic
7ba0dcf1ae
Correct check for NULL in MEXT_INIT_REF() which should be checking whether
...
mbuf->m_ext.ref_cnt is NULL, and not whether mbuf is.
Also, remove spaces before "mbtypes" in MGET and MGETHDR macros.
Pointed out by: dwmalone
2000-10-15 17:57:00 +00:00
Warner Losh
d62abc771f
Lots of little fixes. We no longer panic on card insert:
...
o initialize ivars with bzero.
o remove interrupt function pointer. netbsd needs it, but we don't.
o add lots of comments about bogus things that I've been kludging to try
to make the simple cases work.
o add new ivar accessor for cis4 to match cis3. likely neither will be
needed, but it doesn't hurt to have it.
2000-10-15 17:21:50 +00:00
Brian Somers
bcfa175910
Fix #include order
...
Spotted by: imura
2000-10-15 16:42:31 +00:00