Commit Graph

53025 Commits

Author SHA1 Message Date
obrien
028b372383 Repo copied from src/sys/boot/alpha/libalpha/prom.c,v 2000-10-16 19:51:48 +00:00
obrien
f7e4696ca1 Repo copied from src/sys/boot/alpha/libalpha/devicename.c,v 2000-10-16 19:51:29 +00:00
imp
e6edbbb1cd Add types and prototypes.
Submitted by: msmith
2000-10-16 19:49:30 +00:00
imp
8e2e4b4cc6 Forgot to commit this last night.
Define interrupt routing method.

Submitted by: msmith
2000-10-16 19:43:44 +00:00
joe
9115dc7cd6 Add an optional start/stop argument to pccard_ether, and migrate
the 'ifconfig ifN delete' into pccard_ether under the 'stop'
function.

In addition start dhclient with a pid file based on the interface
name, e.g. /var/run/dhclient.ep0.pid, and kill the correct dhclient
(or dhcpc) process when the card is removed.
2000-10-16 19:11:11 +00:00
joe
e173d8a420 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
wpaul
58a9434231 Remove an errant splimp() that I missed when I went through this driver
the first time.
2000-10-16 18:51:32 +00:00
n_hibma
7d82bdeac9 Undo previous commit. <machine/clock.h> is needed for the prototype
for DELAY().
2000-10-16 18:50:00 +00:00
n_hibma
ba30389674 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
n_hibma
8309efdb87 Sync with NetBSD:
Add more Usages.
2000-10-16 17:45:27 +00:00
n_hibma
783193abcb 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
a552d76cd8 Move __uint16_swap_uint32, __uint8_swap_uint32 and
__uint8_swap_uint16 inside __GNUC__.

Reviewed by: bde
2000-10-16 17:06:48 +00:00
dfr
039e693ea8 In pmap_remove_pv(), only manipulate the page's list if the pv is
managed.
2000-10-16 17:06:32 +00:00
dfr
b5b0296b4b 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
dfr
8d09216389 Clear the register stack frame before using loadrs to invalidate the
stacked registers.
2000-10-16 16:59:32 +00:00
dfr
0644e163a9 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
dfr
3ce4aa655c Return zero from setjmp() and _setjmp() for now. 2000-10-16 16:51:50 +00:00
dfr
010f39c0b6 Fix a couple of dumb mistakes. 2000-10-16 16:48:48 +00:00
n_hibma
510fa85550 Merge from stable: Update of comments 2000-10-16 16:38:04 +00:00
gallatin
6c9f1bfd01 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
obrien
8253c49b7e "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
ru
d005b5ece3 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
dfr
af4d51a538 Track changes to trapframe. 2000-10-16 09:18:05 +00:00
brian
78716dee93 Include sys/types.h 2000-10-16 09:14:44 +00:00
dfr
af713edef9 * 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
ru
6409a78036 Added support for i815. 2000-10-16 08:53:00 +00:00
dfr
2490797b03 Use the right mask for extracting sof from cr.ifs. 2000-10-16 08:47:56 +00:00
dfr
1431e38fdf 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
dfr
8fc5d4a68a Merge a fix from the alpha port - put softintr in the right place in the
table.
2000-10-16 08:45:45 +00:00
dfr
bf4f8f56a4 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
595fba88d1 Include sys/types.h 2000-10-16 08:28:50 +00:00
brian
f6831d54de Include sys/types.h 2000-10-16 08:22:42 +00:00
joe
5a3fe786f7 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
abbfc7dc26 Include sys/types.h 2000-10-16 08:13:59 +00:00
joe
208b8aea6d Build the PICOBSD kernels using the 'make buildkernel' method. 2000-10-16 08:08:31 +00:00
imp
e5eadd616e 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
imp
dc3ddcecec Remove debug writes introduced in prior commit 2000-10-16 07:31:13 +00:00
imp
e3b147d874 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
imp
191aeffeae 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
bfa375d8ae Include sys/types.h 2000-10-16 07:11:30 +00:00
brian
5629be919e Add netnatm to LDIRS
Submitted by:	Makoto MATSUSHITA <matusita@jp.FreeBSD.org>
2000-10-16 07:00:18 +00:00
jwd
2b26e7a12e 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
jwd
7be5a44d3a 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
jwd
6cbedb21b4 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
wpaul
adc78bded8 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
afe2d71a22 include <sys/types.h> 2000-10-15 20:49:53 +00:00
joe
349709ce0b 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
80dc7c7e97 Fix RAW dependency violation on p6 between cmp and mov. 2000-10-15 20:33:41 +00:00
msmith
8553a1588d 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
c5d8c9d93d #include <sys/types.h> 2000-10-15 20:04:09 +00:00