pk
19533212a5
Correct comments on KGDB_* entries.
2000-02-12 12:59:36 +00:00
pk
b518dc6dfc
Eliminate much of the goo in setting up zs device addressing.
2000-02-12 12:51:03 +00:00
thorpej
dded044fc2
Update for the NKMEMPAGES changes.
2000-02-11 19:25:12 +00:00
shin
7f5a7c00ac
fix include file.
...
<netinet6/ip6.h> -> <netinet/ip6.h>
2000-02-09 05:48:26 +00:00
mycroft
bc1ca7aa3f
Add a bunch of debugging code, #ifdef FPU_DEBUG, which attempts to
...
trap FPU usage in the kernel.
2000-02-08 03:16:00 +00:00
pk
1d46ce41ea
Enable the hme ethernet driver.
2000-02-07 21:24:48 +00:00
thorpej
fe551f0e64
Fix a bug in disksort_*() which caused non-optimal ordering when multiple
...
active partitions were on a single spindle. Add a b_rawblkno member to
struct buf which contains the non-partition-relative block number to sort
by.
2000-02-07 20:16:47 +00:00
pk
de608f33e1
Don't use PROM the virtual address (if any) for the device registers;
...
they are not reliably mapped. Also, unmap registers if the device
cannot be configured properly.
2000-02-07 11:44:15 +00:00
kleink
36e6bc645e
Improve namespace test macros a bit.
2000-02-05 14:04:36 +00:00
pk
b527153dd7
Ensure uniqueness of EEPROM device without reference to cf_unit.
2000-02-05 12:32:57 +00:00
cgd
7d16ac338c
add __BROKEN_CONFIG_UNIT_USAGE #define, becuase these ports do very
...
wrong things with device configuration data "cf_unit" information.
2000-02-05 00:13:22 +00:00
kleink
82464e46d6
Add a C99-style va_copy macro.
2000-02-03 16:16:06 +00:00
tsutsui
11c8f56d48
Revert STRIPPROG -> STRIP
2000-02-01 05:25:24 +00:00
danw
f77befbc84
#define __HAVE_DEVICE_REGISTER on ports that have it, and check for
...
that, rather than a list of architecture defines, in config_attach
2000-02-01 04:01:19 +00:00
pk
00ba4de9e2
Add si' and
sw' controllers to device_register() tables.
2000-01-31 15:08:25 +00:00
cjs
26944f9bf6
Add bpp (parallel port) device.
2000-01-28 16:08:52 +00:00
pk
8b07bf2245
standard nomencature: bp -> bh
2000-01-28 15:47:18 +00:00
pk
a5d6b10bad
fdcstatus() formatting.
2000-01-28 15:46:20 +00:00
pk
2f0be0855f
pv_unlink4m: correctly clear the PV_ANC flag. Noted by Artur Grabowski.
2000-01-28 13:06:02 +00:00
tsutsui
b0fbaa33fb
Remove obsoleted macros.
2000-01-26 09:44:10 +00:00
cjs
cfc246f9d8
Don't explode when we've got a lot of RAM. Limit our space for buffers
...
to 1/4 of the kernel VM map.
2000-01-26 07:35:51 +00:00
drochner
8eb798e603
define a "BUS_SPACE_MAP_PREFETCHABLE" flag which basically means that
...
device accesses are idempotent (but should not be cached by the CPU)
2000-01-25 22:13:17 +00:00
tron
04eb110431
Add "dependall" target for comfort.
2000-01-24 20:36:06 +00:00
pk
9cfc74c312
Report write-protected disks.
2000-01-24 16:52:02 +00:00
hubertf
7e5ff67457
Add commented out "ident"-command
2000-01-23 23:46:04 +00:00
pk
18ad190b10
* b_cylin -> b_cylinder; deals with PR9283.
...
* a few optimizations & misc. style updates.
2000-01-23 22:19:12 +00:00
mycroft
7b49d242ce
Clean up the machine symlink stuff ever so slightly. Needs to be
...
standardized between files.
2000-01-23 17:04:03 +00:00
pk
d76bf6c906
Try both the BOOTPARAMS and BOOTP protocol (in that order). This also
...
takes care of PR#8738.
2000-01-22 12:34:57 +00:00
thorpej
52242fdf9f
Update for sys/buf.h/disksort_*() changes.
2000-01-21 23:28:59 +00:00
pk
df99dfd934
Simplify toggling the FTP bit on sun4m machines.
2000-01-21 13:25:12 +00:00
pk
252d47729f
Update FDC offsets used by fdintr.s
2000-01-21 13:24:06 +00:00
pk
6b2ebb44a7
Move several PIL_* definitions into the scope of LOCORE stuff.
2000-01-21 13:22:55 +00:00
pk
f8ac5484fa
Medium sized code overhaul:
...
* Improve communication between the `hard' and `soft' interrupt handlers
to better distinguish various interrupt sources.
* Eliminate several race conditions where we would set a time out handler
only after starting the command on the hardware.
* Handle most timeouts by resetting the controller; there isn't much chance
of recovery in any other way. Currently, the exception is a timeout
on I/O, in which case we first try to pulse the controller's TC line
in order to abort the pseudo-dma sequence. Apparently, "normal"
conditions can induce such a timeout when there's no disk in the drive.
* Reduce the formatting gap parameter to 0x54.
* On the obio bus, interpret the `status' attribute.
* Minimize console diagnostic output if the errors we get appear to be
caused by the absence of a disk.
2000-01-21 13:22:01 +00:00
sommerfeld
aa195e816f
Fix PR9240: comment above cpu_fork() out of synch with reality on most ports.
...
(comment change only, but was wrong for more than just i386).
2000-01-20 22:18:54 +00:00
wrstuden
87e1b0f9b7
Add overlay to kernel configs.
2000-01-20 19:12:28 +00:00
thorpej
a0397a2573
Move callout initialization to a single location; no need to duplicate
...
that code all over the place.
2000-01-19 20:05:30 +00:00
tsutsui
e61f177ab1
STRIP -> STRIPPROG
2000-01-19 16:29:54 +00:00
tsutsui
644b514c39
Change STRIPFLAGS=-g for cross-toolchains.
2000-01-19 14:44:58 +00:00
thorpej
4f27a98702
Use b_cylinder as defined in sys/buf.h
2000-01-18 19:48:02 +00:00
pk
725c6438c1
Use bus_space(9) functions to access the controller registers.
...
Add probes to the attach routines before poking the chip to see
where the registers are located.
2000-01-17 16:57:15 +00:00
pk
2d7f7ef7a6
Use bus handle to in `struct fdio' to read the chip registers.
2000-01-17 16:53:18 +00:00
pk
611f7a9938
Add offset to bus handle in `struct fdio'.
2000-01-17 16:52:04 +00:00
pk
c31e760978
Add missing `break'.
2000-01-14 15:25:28 +00:00
pk
3cb5a866dd
Expand md filesystem to 3.6MB.
2000-01-14 13:41:45 +00:00
pk
e42b2c6cb7
When matching scsi disks, check for the scsibus parent in the previous
...
entry in the boot path. Noted by Matthew Jacob.
2000-01-12 15:53:29 +00:00
mjacob
e7f230b6d2
no need to guess about tgt/lun bounds- we know what they are
2000-01-12 14:53:17 +00:00
pk
7935de2d85
Use a table to detect device aliases and add various `isp' and floppy
...
controllers to it. Also use a table lookup when matching busses/controllers.
2000-01-11 20:53:24 +00:00
pk
c6b6f3883a
Remove old-style boot device recognition.
2000-01-11 12:59:43 +00:00
pk
a744e28304
Cleanup the list of exported headers a bit.
2000-01-10 22:09:34 +00:00
pk
20018b9be8
Add special code for recognising a floppy drive as the boot device.
...
Sun's PROMs don't co-operate here, so there are _hacks_ involved...
2000-01-09 20:53:30 +00:00
pk
a77d141b28
Deal with `24 bit' devices which can still be plugged into an Sbus slot.
2000-01-07 10:54:11 +00:00
pk
8cbc7288d0
* Expand IOMMU DVMA space to top of address space.
...
* Remove confusing comments.
2000-01-04 15:08:30 +00:00
kleink
693059feda
const -> __const and include <sys/cdefs.h> earlier; fixes PR lib/9052
...
by Takahiro Kambe.
2000-01-04 14:20:05 +00:00
pk
4681e48204
Remove private kernel members from `struct fpreg'; update accompanying comment.
1999-12-30 23:59:29 +00:00
pk
f152d57aa2
Make sure to reset the FP queue when loading new values into FP registers.
1999-12-29 15:21:27 +00:00
kleink
11e6c54cfc
C99: Define a NAN macro in <math.h> which evaulates to a constant expression of
...
a single-precision quiet NaN; only to be defined on platforms that do support
this value.
1999-12-23 10:15:05 +00:00
jdc
016b030623
Added tctrl.h
1999-12-20 09:49:20 +00:00
garbled
e89216c73c
avoid uninterruptable sleep on a CMD_REQ ioctl.
1999-12-17 00:32:25 +00:00
thorpej
18ab712015
Provide cpu_boot_secondary_cpus().
1999-12-16 20:24:58 +00:00
garbled
f02b80418b
add <machine/tctrl.h> where needed.
...
Add some undocumented commands to the ts102 registers file, and fix a few
typos.
Modifications to tctrl.c:
Add entrypoints to driver for open/close/ioctl/poll.
Make device work with apmd. (still no support for suspend/sleep)
Make device work with ENVSYS API.
Slightly restructure handling of events.
Add function to make microcontroller requests.
1999-12-15 08:12:30 +00:00
garbled
dd9ad672a9
add entrypoint for tctrl device, and add <machine/tctrl.h> to includes for
...
machdep.c
1999-12-15 08:03:43 +00:00
garbled
5e200de9b7
Add new spl level for tadpole devices splts102.
...
Device entrypoints for tctrl device (tadpole micro controller)
add header for direct-access ioctl to the tadpole microcontroller.
1999-12-15 08:01:00 +00:00
ragge
26e1b45757
clrnd()/clbase() discarding.
1999-12-05 11:56:30 +00:00
ragge
0513268399
CL* discarding.
1999-12-04 21:13:19 +00:00
mrg
b27ecf75a9
oops; remove part of the previous that was not intended (yet).
1999-11-30 07:56:28 +00:00
pk
a24fb44ddf
Pull header files from `syssrc' since we use libsa/loadfile().
1999-11-29 14:49:12 +00:00
mrg
2c11d38827
add some missing #ifdef SUN4M to the MP-handling code.
1999-11-27 14:54:53 +00:00
mrg
9a6c8313f7
minor cosmetic merges; long way to go here.
1999-11-27 12:14:26 +00:00
mrg
264af07cff
merge sparc64 types.h; these files are now identical.
1999-11-27 11:33:39 +00:00
mrg
d7e14b468a
more sparc64 merging; these files are (basically) identical.
1999-11-27 11:20:41 +00:00
mrg
faa527dcc9
merge sparc64 limits.h; these files are now identical. this includes
...
a `fix' for when s?size_t was changed from int to long but the
definitions of S?SIZE_MAX were left as U?INT_MAX. these are now
U?LONG_MAX.
1999-11-27 11:14:40 +00:00
mrg
492e85822e
MNN has been standard for a Long Time.
1999-11-27 10:22:19 +00:00
mrg
484cb25f55
s/long/int/ to make this identical the sparc64 version.
1999-11-27 10:10:02 +00:00
pk
e0118ca933
Suppress the machine' symlink when making target
obj'.
...
Also add it to the clean target list.
1999-11-25 13:27:30 +00:00
pk
633fd1e1cc
Check presence of Sbus interrupt properties before using them.
1999-11-21 15:23:01 +00:00
itojun
e9a0023b37
bring in content of GENERIC.v6 into GENERIC.
...
remove GENERIC.v6 file (as it is part of GENERIC now).
"faith" interface is commented out by default as it is not really for
general use.
IPsec items are commented out as well, though we can enable "options IPSEC"
without export-related issue ("options IPSEC" will enable authentication
portion only). We may need to think about it again.
if you have problem compiling with INET6 on archs I do not have access to,
please contact me.
XXX what to do with arch/arm32/SHARK{,.v6}?
1999-11-21 14:00:37 +00:00
chs
7fa6c707d3
update a prototype for the new pmap_enter().
1999-11-17 06:16:49 +00:00
fvdl
8bec119fcc
Add commented out option SOFTDEP to all GENERIC kernels.
1999-11-15 19:10:44 +00:00
fvdl
d116707af0
Add
...
prefix ../gnu/sys
cinclude "conf/files.softdep"
prefix
to all std.* files, so that soft dependencies can be activated using
"options SOFTDEP".
1999-11-15 19:00:25 +00:00
thorpej
4ab7f024dc
Fix a couple of pmap_enter() calls I missed.
1999-11-15 00:06:58 +00:00
thorpej
2cfc62b5ae
Update for pmap API change.
1999-11-14 02:39:09 +00:00
matt
3ca3e51df8
Nuke TCP_COMPAT_42. Use sysctl to enable it if required.
1999-11-13 20:56:14 +00:00
pk
a9cdefb6e6
Remove implementation of the -h' and
-a' options.
1999-11-13 12:09:41 +00:00
thorpej
1946167939
Update for pmap_enter() API change. No functional difference.
1999-11-13 00:30:26 +00:00
kleink
c52f431558
Bring high-resolution time interfaces closer to SVR4:
...
* Change gethrtime() to use mono_time.
* gethrvtime() is defined to return the lwp/process's virtual time;
use p_rtime augmented with the current runtime.
Reviewed by: christos
1999-11-12 20:45:44 +00:00
matt
d2434ef890
remove reference to auxiotwo
1999-11-12 06:15:38 +00:00
matt
73ae3282ab
turns we need to tweak the auxio1 reg to enable the modem. also fix a call
...
to sbus_bus_map. it's closer to working but I wonder if COM_FREQ is the
right value.
1999-11-12 05:20:03 +00:00
matt
8ffb2596c7
make this compile under current
1999-11-12 04:42:19 +00:00
matt
3744fe193f
add some stuff needed for pcmcia support
1999-11-12 04:41:46 +00:00
matt
1138f7e762
add COMPAT_14
1999-11-11 15:55:53 +00:00
mycroft
8f05f33e49
Move the boot block load address from 3MB to 7MB. The INSTALL kernel is
...
already too large, and GENERIC won't be far behind.
1999-11-09 18:39:41 +00:00
pk
560567d851
Include <sys/exec.h> instead of <a.out.h>/
1999-11-08 23:29:56 +00:00
pk
a96dbfa190
Remove inclusion of unused headers.
1999-11-08 23:29:05 +00:00
pk
1ad621b38f
Handle empty `input/output path' when looking for console device; patch
...
from Brian D. Chase.
1999-11-07 16:36:16 +00:00
mycroft
4c0911c827
Make this more current.
1999-11-07 01:09:12 +00:00
chs
07e5d68b51
several fixes to copy{in,out,}str() from charles and myself:
...
don't panic if maxlen == 0, just return ENAMETOLONG.
treat maxlen as unsigned like the manpage indicates.
avoid crashing if the userspace address is >= KERNBASE.
make sure *done is 0 when no bytes are copied.
1999-11-05 04:49:26 +00:00
kleink
522cbf0248
Update to match new SVR4-style definition names in <sys/exec_elf.h>.
1999-10-25 13:55:06 +00:00
pk
fbfe8a4407
Comply with recent MI scsi changes.
1999-10-21 13:46:06 +00:00
phil
54eed2bc37
Add in the Coda file system and pseudo device.
1999-10-14 16:09:31 +00:00
phil
15ef719178
Add a psuedo-device for coda.
1999-10-14 00:08:45 +00:00