drochner
eaafa2dbd1
Zero-initialize the initial u-area. This cures the "random process killed
...
by SIGPROF or SIGVTALRM" syndrome.
1998-10-18 22:00:17 +00:00
ragge
18b6b32a67
Support for DWBUA (BI to Unibus adapter) and KLESI-B (TMSCP tape ctlr) added.
1998-10-18 18:47:18 +00:00
thorpej
49dd2f5055
Need <sys/device.h>
1998-10-18 18:39:43 +00:00
thorpej
adc5eb3a57
Fix a thinko in previous.
1998-10-18 17:15:04 +00:00
christos
c2339a1799
Make error array look like ibcs2, svr4, and linux
1998-10-18 17:00:32 +00:00
christos
e26890e06b
Rename ibcs2_errno.c -> ibcs2_error.c to match with linux and svr4
1998-10-18 16:59:14 +00:00
christos
09285b1171
PR/6311: By me... There was a bug unloading the dmamap:
...
addr = map->dm_segs[0].ds_addr & ~PGOFSET;
len = map->dm_segs[0].ds_len;
len = ((addr & PGOFSET) + len + PGOFSET) & ~PGOFSET;
addr &= ~PGOFSET;
Notice that the & ~PGOFSET in the first line should be gone. This fixes
the newfs large disk panic.
1998-10-18 16:02:34 +00:00
mellon
8a9206b6fd
Add CAPS_IS_CTL option
1998-10-18 12:21:51 +00:00
tsubai
07e2c44982
Make compilable without aed.
1998-10-18 09:52:16 +00:00
tsubai
541bc2d3d7
Add wsmouse support.
1998-10-18 09:31:40 +00:00
itohy
2a9addf6dc
Remove unwanted reference to "_trap1" if !defined(COMPAT_13).
1998-10-18 04:42:17 +00:00
jtk
c4ffdb9200
dumpsize == 0 also indicates failure to figure out where to dump
...
(e.g. dump partition too small), so complain in that case when trying to
dump
1998-10-17 00:07:11 +00:00
pk
0bf09a4ae7
Drop cpuinfo's `L1_ptps'; instead keep a per CPU segment (level 2) page
...
table descriptor that is used to patch up a region (level 1) page table
associated with a user pmap at context switch time.
1998-10-16 22:39:17 +00:00
tv
000978aaca
Check for gcc the Right way when quashing -Wuninitialized goop.
1998-10-16 19:34:57 +00:00
ws
d65dc0de3b
Make ourseg visible to the outside similar to bootsect/start_bootsect.S
...
(Thanks to hannken@eis.cs.tu-bs.de for pointing this out).
1998-10-16 18:07:35 +00:00
bouyer
bf32feec28
More >2Gb fixes, from Constantine Sapuntzakis.
1998-10-16 14:29:40 +00:00
mycroft
79a031f9d3
Configuration for new CVS server.
1998-10-16 00:30:53 +00:00
ross
3707ad314c
History. INSTALL is now used on the floppy set and combo CD/HD/tape image.
1998-10-16 00:15:15 +00:00
drochner
5bdff43727
Initialize default disklabel properly: Whole disk is RAW_PART, not 'a'.
1998-10-15 19:08:33 +00:00
drochner
337bfd46a5
change handling of libkern:
...
-sys/lib/libkern builds as library per default (as it was documented all
the time)
-ports able to LKM set "KERN_AS=obj" explicitely in their Makefiles
1998-10-15 18:46:37 +00:00
drochner
2468738337
change handling of libkern:
...
-sys/lib/libkern builds as library per default (as it was documented all
the time)
-ports able to LKM set "KERN_AS=obj" explicitely in their Makefiles
(for now; should depend on actual "option LKM" or -better- functions
included for LKM use should be pulled in by a stub)
-always link libcompat before libkern - libkern stuff can be referred to
by libcompat, but not the other way
1998-10-15 18:37:13 +00:00
bad
34f348a9e4
Work around gcc warning.
1998-10-15 18:01:49 +00:00
ws
f82918b49b
Add int13 extension support
1998-10-15 15:28:22 +00:00
bad
50aa1b9d51
Add the IDT WinChip C6 to the cpu type table.
1998-10-15 15:26:01 +00:00
tsubai
3b892dd579
/chaos/control support. (tested 640x480 mode only)
1998-10-15 14:48:47 +00:00
tsubai
810fcde7eb
Set PCI bus number correctly.
1998-10-15 14:39:53 +00:00
bad
28b3386649
Add CPUVENDOR_IDT and CPU_C6.
1998-10-15 13:40:33 +00:00
bouyer
999d5323c0
Make CPURESET_DELAY a patcheable variable, as sugested by Chris G. Demetriou.
1998-10-15 11:41:28 +00:00
bouyer
96a0812fd8
Kill an extra printf("\n").
1998-10-15 11:38:04 +00:00
thorpej
d153ad6324
Some const poisioning.
1998-10-15 07:06:47 +00:00
matt
a9a911bdba
Add .type pseudo-ops needed for shared libraries.
1998-10-15 06:01:11 +00:00
thorpej
859b5d88a6
Protect kernel prototypes w/ #ifdef _KERNEL.
1998-10-15 05:11:52 +00:00
thorpej
2ebdceb3f7
Forward decl of struct proc.
1998-10-15 05:10:20 +00:00
mycroft
ee042cb008
Disable the I/O address, DRQ and IRQ validation; assume that the config file
...
is sane.
1998-10-15 04:05:53 +00:00
mycroft
d2d873481a
pcic_wait_ready(): If we didn't get READY, print out the current status.
1998-10-15 04:04:43 +00:00
ross
0450169fae
1. Avoid snarfing label areas unless necessary; read with monotonically
...
increasing block numbers and don't reread cylinder 0.
2. Recognize the USTAR.... meta-info file...kind of like a super-block,
it makes the volume size and label info programmable.
1998-10-15 01:11:46 +00:00
ross
3e35915bc3
Don't use big 16K blocks for the -b contiguous secondary boot installation.
...
It leads to confusion about where the end of the image is on tape boots.
1998-10-15 01:05:20 +00:00
ross
16bf3552bb
Save a0 during bss clear.
1998-10-15 01:02:55 +00:00
ross
9f7ca48f3b
Delete prom_open() wrapper routine. Other clients of prom_open
...
can use the prom.h dispatch macros instead, especially since they
all presently expect the raw return bits.
1998-10-15 01:02:15 +00:00
ross
c84b7f501e
Delete bogus prom_open() prototype.
1998-10-15 01:00:56 +00:00
ross
412f6ae85b
Grab booted_dev_fd parameter from bootxx. It won't be there for netboot
...
but there should be no harm done.
1998-10-15 01:00:07 +00:00
ross
6336abe01a
const'ify
1998-10-15 00:56:56 +00:00
ross
df51a43618
Rototill the primary boot for...
...
1. much faster speed
2. support of more media types
1998-10-15 00:55:48 +00:00
ross
c33589db84
Consult osrelease.sh and pass down NETBSD_VERS
1998-10-15 00:52:38 +00:00
ross
74f36b2497
Try the ustarfs open first...it's the only one that can't necessarily
...
seek. We might be reading a tape and the extra superblock reads will
eat up tape records.
1998-10-15 00:51:22 +00:00
ross
9c29657a67
Extern def for raw prom disk file descriptor.
1998-10-15 00:49:34 +00:00
ross
b0367fb980
Don't actually do the raw prom open here.
1998-10-15 00:48:55 +00:00
ross
8447dd624c
1. STANDALONE -> _STANDALONE
...
2. Key raw prom interfaces defes on ENABLEPROM
3. Define the prom "ioctl" magtape functions.
1998-10-15 00:47:28 +00:00
ross
d4e2b18bb1
Define ENABLEPROM, which turns on the raw prom interface defs.
1998-10-15 00:45:52 +00:00
is
8caffffa3e
Activate cleandir (and distclean), as suggested in PR 6244 by
...
Frederick Bruckman.
1998-10-14 20:45:43 +00:00
perry
6413810bf3
Stop spurious lpt messages from being printed -- approved by fvdl.
1998-10-14 20:09:06 +00:00
matt
495a4bdb2c
Sync with new IDE support (e.g. pciide changes)
1998-10-14 18:31:34 +00:00
thorpej
8f460d30f6
Nuke spurious ;
1998-10-14 18:05:45 +00:00
matt
f8e4127109
Remove pciide definitions in files.alpha since they are now in files.pci
1998-10-14 18:00:11 +00:00
pk
fd966585a1
Turn on the counter at each CPU (we fear nothing..)
1998-10-14 14:53:36 +00:00
pk
afcfa7d7fa
Let all CPUs spin at spl0.
1998-10-14 14:47:20 +00:00
pk
631a48776f
Don't allocate two stacks per CPU.
...
Minor attach-time message change.
1998-10-14 14:22:18 +00:00
tsubai
4f4676e9c0
Sync to ``POWERMAC'' config.
1998-10-14 13:54:09 +00:00
dante
773dc968ad
Remove some debugging printf
1998-10-14 13:28:47 +00:00
tsubai
635d4ae57a
Fix typo.
1998-10-14 13:21:10 +00:00
tsubai
c539169765
wskbd support.
1998-10-14 12:56:19 +00:00
tsubai
f6f8f9b3f5
Oops, remove ite/grf.
1998-10-14 12:31:34 +00:00
tsubai
461a9c9361
Add wsdisplay/wskbd.
1998-10-14 12:28:54 +00:00
tsubai
ced4fd09b4
Add wsdisplay.
1998-10-14 12:27:03 +00:00
tsubai
20e56a7571
Add wsdisplay (, wskbd, and wsmouse).
1998-10-14 12:21:21 +00:00
tsubai
9fdd9b72df
Implement PCI tag to OpenFirmware device convert function (pcidev_to_ofdev).
1998-10-14 12:18:20 +00:00
tsubai
b6e7cc68c6
akbd: wskbd support.
...
ofb: OpenFirmware generic framebuffer.
1998-10-14 12:15:10 +00:00
ws
03de6ac37b
Physical addresses are paddr_t, not vaddr_t
1998-10-14 11:45:16 +00:00
augustss
797eea8ae5
Add a sequencer pseuso device since we have a MIDI device.
1998-10-14 11:13:14 +00:00
pk
c65c55af6f
Disable the daft PAUSE() macro, which manages to skip all the relevant
...
code in lockmgr() most of the time. This a no doubt a case of Bad Coding Style.
1998-10-14 09:41:21 +00:00
dante
de1d4ba9b0
Change the way uCode is loaded into board LRAM, to let it work on macppc.
1998-10-13 22:57:26 +00:00
pk
e6c0a03f90
`ncpu != 0' doesn't make much sense when deciding what CP info to print.
1998-10-13 21:08:48 +00:00
pk
bf7ace9074
CLKF_INTR() needs to have a MULTIPROCESSOR version.
1998-10-13 20:53:02 +00:00
bouyer
e8322de657
Add a new drive flag, DRIVE_MODE, set when the drive properly reported its
...
PIO/DMA modes. Don't try a SET_FEATURE if it didn't report its mode.
1998-10-13 15:18:46 +00:00
perry
3a86ff1e67
Fix a stupid bug -- an if that was supposed to be nested but wasn't.
1998-10-13 15:14:13 +00:00
bouyer
7545a59b8c
In debug message, always print controller:channel:drive
1998-10-13 15:02:41 +00:00
pk
802248ee1c
We use MULTIPROCESSOR explicitly here, so pull in "opt_multiprocessor.h".
1998-10-13 13:37:14 +00:00
pk
14a3acbd47
srmmu_cache_flush(): handle small (< NBPG) ranges more efficiently.
1998-10-13 13:34:06 +00:00
tsubai
7d9356dcca
Fix cut-and-paste miss...
1998-10-13 13:15:29 +00:00
pk
1e0064d5d6
EINTSTACK => EINTSTACKP
1998-10-13 12:05:44 +00:00
bouyer
10788ef1be
Add a CPURESET_DELAY options which specifies the delay (in milliseconds)
...
between the "rebooting" message and the hardware reset. If set to 0, the call
to delay() is disabled. Default is 2s.
1998-10-13 11:43:50 +00:00
kleink
cee25f5a9c
Since libc is not ready for enabling weak symbol support yet, disable the
...
WEAK_ALIAS() macro for now (like cdefs.h).
1998-10-13 11:39:26 +00:00
pk
d5e94d4fb2
Add missing `return'.
1998-10-13 11:33:36 +00:00
tsubai
ffb3220169
Don't panic when pmap_remove_pv even if pa is not managed.
...
(i.e. I/O device. framebuffer etc.)
1998-10-13 11:30:47 +00:00
tsubai
b373c846b4
ADB change.
1998-10-13 11:25:26 +00:00
tsubai
7756c05cc4
Split ADB driver to aed (ADB event device), akbd (ADB keyboard),
...
and ams (ADB mouse). adb is a bus now. (from Colin Wood)
1998-10-13 11:21:20 +00:00
bouyer
ff0134b99f
Properly separate DEBUF_XFERS and DEBUG_FUNCS: DEBUF_XFERS is for data
...
transfers (may be called often), where DEBUG_FUNCS is for setup functions
(not used for normal contitions).
1998-10-13 09:33:59 +00:00
bouyer
da5d0a6f17
pciide.c: don't define WDCDEBUG, so it compiles on alpha. Correct a bogon
...
in the printing of DMA mode (piix3/4 only)
others: set the debug_mask to 0, so that debug messages are turned off by
default but can be easily turned on.
Reset drive_flags to 0 for unconfigured devices, so that they are ignored
later. For configured devices, reset state to 0 after probe/attach.
1998-10-13 08:59:45 +00:00
msaitoh
39c8c94fa5
make it compile with GWETHER again.
1998-10-13 08:33:05 +00:00
thorpej
dc7cfafe4c
Default to "no debugging messages" (still patchable).
1998-10-13 05:39:01 +00:00
enami
470c2f6696
Remove space at the end of line.
1998-10-13 03:57:27 +00:00
kim
e34aa44c14
Put back ETHERTALK_AT (but I did convert *all* code to ETHERTYPE_ATALK),
...
so if vendors (or something) used it, it is still found. Also added short
comments for each alias to explain why they are there.
1998-10-13 02:55:18 +00:00
kim
cd7e3136ad
Use ETHERTYPE_ATALK instead of ETHERTYPE_AT. The former seems more common.
...
Our other constants also use "ATALK".
Added many new ETHERTYPE constants to sys/net/ethertypes.h, including the
ones from libpcap and tcpdump "ethertype.h" files.
1998-10-13 02:34:31 +00:00
enami
13b8051475
Make this file compile again with -DATAPI_DEBUG_PROBE.
1998-10-13 02:09:47 +00:00
pk
8511a94f26
Oops, USPACE does not in 13 bits.. repair and save one instruction
...
in a non-SMP kernel.
1998-10-12 22:05:17 +00:00
is
4e322893fa
Make the data pointer of the write_multi, write_region and write_stream
...
methods const *.
1998-10-12 22:02:43 +00:00
pk
c27a8760b7
In switchexit(), switch to the current CPU's idle u.area.
1998-10-12 21:51:54 +00:00
pk
dff4866141
Add offset of `cpuinfo.idle_u'.
1998-10-12 21:50:22 +00:00
pk
5d124ce774
Move around a few PTE-manipulating macros.
1998-10-12 21:17:28 +00:00
is
842fbdf4d2
- add bus_space_{copy,set}_region_{1,2} support and implementation for
...
_1 and for _2 in the contiguous and interleaved case.
- while we're here, reorganize bus.h into sections, and use the defined
convenience functions everywhere.
1998-10-12 21:15:54 +00:00
pk
83b671e23d
Make `cpcb' (current u.area) a per-CPU variable.
...
Brace some MP-only code with `#ifdef MULTIPROCESSOR'.
1998-10-12 20:56:48 +00:00
bouyer
46aa11acac
Adjust include list.
1998-10-12 19:50:09 +00:00
perry
d6748769a5
Cut down slightly by reducing md size and commenting out ext2fs
...
support.
(From Havard.Eidnes@runit.sintef.no )
1998-10-12 16:37:44 +00:00
perry
6b858b9573
kernels for 4Mbyte main memory machines (from Havard.Eidnes@runit.sintef.no)
1998-10-12 16:36:18 +00:00
bouyer
aaa8f8b183
Patch from Mark Brinicombe for arm32 config with the new ide system.
1998-10-12 16:13:03 +00:00
bouyer
19fddaeeb5
Merge bouyer-ide
1998-10-12 16:09:10 +00:00
perry
37cb095897
1) Change "dectohexdec" and "hexdectodec" to "bintobcd" and
...
"bcdtobin". The old names were bogus.
2) Make the code grok the NVRAM's century field. This code is, to say
the least, poorly tested. It should make NetBSD play nicer with other
OSes that care about the century field, however.
1998-10-12 15:41:11 +00:00
pk
6791d7f713
Make `_cpcb' (pointer to current user area) a per-CPU variable.
...
This cpuinfo field is initialized here in locore before calling bootstrap(),
since it must be valid before entering the window overflow/underflow handlers.
Fix miscalculation in the MULTIPROCESSOR version of INTR_SETUP().
1998-10-12 14:39:10 +00:00
pk
523892012a
`cpcb' (pointer to current u.area) is now a per-CPU variable.
1998-10-12 14:32:14 +00:00
pk
fbbc2eeedd
`cpuinfo' is now cleared in locore.
1998-10-12 14:15:13 +00:00
pk
6fc7a5b45a
Define `sizeof(struct cpu_info)'.
1998-10-12 14:03:22 +00:00
pk
1fb4827a72
Take care of a MID not present when matching timer register sets.
1998-10-12 12:28:26 +00:00
bouyer
91ce6daac5
Fix for files > 2Gb, one from Kirk McKusick via OpenBSD and one similar from me.
1998-10-12 09:57:48 +00:00
veego
a5eda011ab
Include <sys/device.h> for the configure prototype.
1998-10-12 03:51:59 +00:00
mark
c70acc4a87
Add console initialisation for wscons via VGA.
...
Use the boot options console=xxx to select the console where xxx is
vga, fcom or com.
1998-10-12 03:32:51 +00:00
mark
91a04b5d0c
Define __HAVE_NWSCONS
1998-10-12 03:12:37 +00:00
chuck
8bef431273
remove unused share map code from UVM:
...
- update calls to uvm_unmap_remove/uvm_unmap (mainonly boolean arg
has been removed)
1998-10-11 23:20:59 +00:00
chuck
025ae6bd64
remove unused share map code from UVM:
...
- update calls to uvm_unmap_remove/uvm_unmap (mainonly boolean arg
has been removed)
- replace UVM_ET_ISMAP checks with UVM_ET_ISSUBMAP checks
1998-10-11 23:18:20 +00:00
chuck
03939069dc
remove unused share map code from UVM:
...
- update uvm_faultinfo's rvaddr to orig_rvaddr to match changes from
uvm_fault.h
1998-10-11 23:16:20 +00:00
chuck
2d4c15ebc9
remove unused share map code from UVM:
...
- replace map checks with submap checks
- get rid of unused 'mainonly' arg in uvm_unmap/uvm_unmap_remove, simplify
code. update all calls to reflect this.
- don't worry about unmapping or changing the protection of shared share
map mappings (is_main_map no longer used).
- remove unused uvm_map_sharemapcopy() function from fork code.
1998-10-11 23:14:47 +00:00
chuck
1b59a238c4
remove unused share map code from UVM:
...
- simplify uvm_faultinfo in uvm_fault.h (parent map tracking no longer needed)
- adjust locking and lookup functions in uvm_fault_i.h to reflect the above
- replace ufi.rvaddr with ufi.orig_rvaddr in uvm_fault.c since rvaddr is
no longer needed.
- no need to worry about share map translations in uvm_fault(). simplify.
1998-10-11 23:07:42 +00:00
chuck
8ffef382dd
remove unused share map code from UVM:
...
- udv_fault() no longer has to worry about share map address translations
on device faults. simplify code.
1998-10-11 23:02:31 +00:00
chuck
a4d3b16d22
remove unused share map code from UVM:
...
dump UVM_ET_MAP/UVM_ET_ISMAP. if you need to detect a submap use
UVM_ET_SUBMAP/UVM_ET_ISSUBMAP.
1998-10-11 22:59:53 +00:00
chuck
1449d78fd3
remove the following if UVM is defined:
...
- share_map in vm_map_object. UVM doesn't use share maps, so drop unused
partial support for them to simplify the code.
- is_main_map in vm_map. no longer needed once share maps are gone.
- vm_map_version_t. map versions are handled elsewhere in UVM.
1998-10-11 22:56:42 +00:00
thorpej
2101c736a3
Make the product lookup table-driven.
1998-10-11 18:42:01 +00:00
augustss
44d4d6a60a
Call correct ad1848 attach routine. Fixes PR 6269.
1998-10-11 17:02:36 +00:00
pk
b9d844a520
Allocate a private PCB, kernel stack and interrupt stack for each processor.
...
As a result, the stack setup code in locore.s changes slightly in
the MULTIPROCESSOR case. Also, make the stack redzone barrier (for
debugging only) a per-CPU entity.
1998-10-11 14:46:45 +00:00
thorpej
e0fa7545bf
Use pcmcia_io_free() where appropriate.
1998-10-10 22:01:24 +00:00
thorpej
09b6735d35
Define missing pcmcia_io_free().
1998-10-10 21:59:40 +00:00
thorpej
be326c54fe
Add pcmcom driver and com slaves.
1998-10-10 21:58:22 +00:00
thorpej
f1c971ea72
Device driver for PCMCIA multi-port serial cards. Currently supports
...
the Socket Communications, Inc. dual-rs232 device.
1998-10-10 21:27:21 +00:00
scw
260d2c97a9
Make 'configure()' agree with the prototype in <sys/device.h>.
...
(Returns 'void').
1998-10-10 19:46:29 +00:00
scw
bdf8d911fc
Clear 'cold' to zero at the end of configure(), where it belongs.
...
(This used to be done in machdep.c, but thorpej recently zapped
that one ;-)
1998-10-10 19:15:32 +00:00
drochner
ff455e77b6
Match pchb by class/subclass, like pcib.
...
Add a note about this strange Pequr host bridge in Compaq machines.
1998-10-10 14:12:21 +00:00
hannken
f568c6347c
Fix last commit -- NISADMA is either 0 or 1.
1998-10-10 13:43:10 +00:00
thorpej
fe56f257b2
If the adapter returned XS_RESET and the xfer specifies a retry count,
...
attempt to reissue the command (which was destroyed by the bus reset).
Slightly modified from PR #6090 , from Matt Jacob.
1998-10-10 03:42:53 +00:00
thorpej
16cf223098
Enforce open-for-writing on ioctls that change the bus's state.
...
Implement ioctl pass-through to the host bus adapter, allowing both
SCBUS* ioctls handled at that level and host adapter-specific ioctls
to be implemented. Implement SCBUSIORESET as a pass-through.
Inspired by PR #6090 , from Matt Jacob.
1998-10-10 03:33:01 +00:00
thorpej
4898b61ee2
Define the SCBUSIORESET ioctl (no argument).
1998-10-10 03:18:51 +00:00
thorpej
9eb1a83c84
Define the SCBUSIOSCAN ioctl (and its argument structure). This
...
SCSI bus ioctl rescans the SCSI bus for new devices.
Garbage-collect the SCIOCREPROBE and OSCIOCREPROBE. They are obsolete.
1998-10-10 02:37:28 +00:00
thorpej
45bf57f8a6
Garbage-collect the SCIOCREPROBE and OSCIOCREPROBE ioctls. This is a
...
bus-oriented command. (How much sense does it make to open a device
to rescan the bus?!)
1998-10-10 02:35:30 +00:00
thorpej
1e2b6a99ed
Implement the SCBUSIOSCAN ioctl. Rescans the bus for new devices.
1998-10-10 02:34:15 +00:00
matt
1163f713bb
Make DBL_MIN and DBL_MAX makes limits.h (otherwise CPP complains when
...
building xlint).
1998-10-10 02:13:55 +00:00
thorpej
908cdfe4e3
Add scsibus entry points to the cdevsw[].
1998-10-10 02:00:49 +00:00
thorpej
e3fb94a7b4
Add the open/close/ioctl entry points for the SCSI bus, i.e. /dev/scsibusN.
1998-10-10 01:14:26 +00:00
thorpej
0a588fad00
Add cdev_scsibus_init() (open, close, ioctl).
1998-10-10 01:11:36 +00:00
thorpej
dda872c16a
Define an additional host adapter return code, XS_RESET, indicating
...
that the bus was reset while the command was pending. The middle
layer may choose to retry the command.
1998-10-10 00:36:13 +00:00
thorpej
29d472f53d
Garbage-collect the open_target_lu and close_target_lu entry points from
...
struct scsipi_adapter; they were not used.
Add a scsipi_ioctl entry point to struct scsipi_adapter. This will be
used to issue ioctl commands to the host adapters.
Inspired by PR #6090 , from Matt Jacob.
1998-10-10 00:28:28 +00:00
pk
5422d07da0
Construct a `flush_cache_all()' for Cypress CPUs.
1998-10-09 10:48:14 +00:00
pk
024e5f4c9a
More `#if defined(MULTIPROCESSOR)'s.
1998-10-09 10:08:52 +00:00
pk
57a688f81e
Init a variable.
1998-10-09 08:01:33 +00:00
matt
832a061bca
Fix some old mistakes when I originally committed this.
1998-10-09 06:20:06 +00:00
matt
c4ece7cdcb
Commit out include of "../include/macros.h" since its bcopy conflict with
...
the one in "lib/libsa/stand.h".
1998-10-09 06:15:33 +00:00
matt
71364ebea6
Workaround problem with le driver forgetting its address
1998-10-09 06:14:22 +00:00
matt
3d8c929799
Remove define for SUPPORT_BOOTPARAMS and put in the Makefile instead.
...
Fix DHCP code so it works.
1998-10-09 06:13:30 +00:00
matt
7d79b82d33
include <bsd.prog.mk> and make changes so that "make obj" works.
...
Make it easy to build an boot which uses BOOTP/DHCP instead
RARP/BOOTPARAMS.
1998-10-09 06:12:31 +00:00
matt
bbf29cff44
Add strncpy (needed for bootp/dhcp). Tighten up some of the assembly.
1998-10-09 06:09:48 +00:00
mark
45a8df778f
Remove some unnecessary includes.
1998-10-09 00:17:20 +00:00
pk
312385da0a
Define SMP versions of some cache flush methods.
1998-10-08 22:27:32 +00:00
pk
41d031837e
Define a message structure of inter-processor communication.
1998-10-08 22:25:42 +00:00
pk
f3c4a67a7f
Adapt to changes to the cpus[] array.
1998-10-08 22:23:44 +00:00
pk
34ad8e5fb7
Find out about the number of CPUs in the system before starting device
...
configuration, so we can build a cpus[] array without "holes".
1998-10-08 22:14:44 +00:00
pk
a61ee50b27
Move [gs]etcontext and [gs]etpte() to pte.h
1998-10-08 21:49:12 +00:00
pk
e6bbfcc58a
Move [gs]etcontext() and [gs]etpte() to pte.h
1998-10-08 21:47:34 +00:00
is
6662b5ed74
- define framework for >8bit transfers
...
- implement 16 bit contiguous and 16 bit interleaved, both big-endian
1998-10-08 21:46:39 +00:00
thorpej
0a70a74239
Regen.
1998-10-08 20:44:00 +00:00
thorpej
8ba90a1c93
Correct product ID for Socket Communications Dual Serial Adapter.
1998-10-08 20:43:42 +00:00
thorpej
b69841d26a
Add a NOSYNCCACHE quirk for the Micropolis 2217-15MQ1091501, as reported
...
by Matt Jacob, PR #6027 .
1998-10-08 20:24:10 +00:00
thorpej
39f4d1c239
Handle devices that have the SDEV_NOSYNCCACHE quirk.
1998-10-08 20:21:13 +00:00
thorpej
7be31bed79
Add a "NOSYNCCACHE" quirk, as suggested by Matt Jacob in PR #6027 .
1998-10-08 20:17:52 +00:00
thorpej
19d188b293
Regen.
1998-10-08 20:12:52 +00:00
thorpej
1b15f541a6
Add Megahertz X-JACK 56kbps Modem, from Johnny C. Lam, PR #6173 .
1998-10-08 20:11:59 +00:00
thorpej
67b94a13ed
Add the Intel 82443BX PCI host bus adapter. From Soren S. Jorvang, PR #6250 .
1998-10-08 20:04:32 +00:00
thorpej
5599443810
If ISA DMA is not present in the kernel (i.e. no ISA DMA-using devices
...
configured in), don't call ISA DMA functions to check for DRQs being
free. Just return EINVAL in this case. Fixes PR #6187 , from Herb Peyerl.
1998-10-08 19:59:20 +00:00
chuck
495b6aafdc
fix ppref botch. establish ppref at split time before we add the duplicate
...
reference.
1998-10-08 19:47:50 +00:00
thorpej
6a2b035300
Add a NOLUNS quirk for the Sony CDL1100 changer, from Chris Jones, PR #6238 .
1998-10-08 18:46:15 +00:00
ws
3e28defef4
No point in making the fake partition that large.
...
This smaller one will (hopefully) make 0-start
installations work on more machines.
1998-10-08 14:25:42 +00:00
eeh
b6fd7187e0
Fix more syscall32 and signal breakage.
1998-10-08 02:31:39 +00:00
thorpej
0b4cfbfe6e
Fix some whitespace lossage.
1998-10-08 02:06:13 +00:00
mark
8d41878215
Add pckbc device, keyboard and mouse and wskbd and wsmouse via pckbc.
1998-10-08 01:59:22 +00:00
mark
d21eb4802d
Rename the pckbd attribute to avoid clashing with the pckbd device
...
from dev/pckbc/*
Include files.pckbc
1998-10-08 01:50:28 +00:00
thorpej
14f5ac9081
Use the pool allocator for ipflow entries.
1998-10-08 01:41:45 +00:00
thorpej
974aa74abd
Use the pool allocator for ipqent structures.
1998-10-08 01:19:25 +00:00
erh
edeeb71bd8
Add the sigaction call.
1998-10-07 23:48:04 +00:00
erh
00a3eb89be
This is used on the alpha. It is called osf_sigaction under linux because of the format of the sigaction structure but it acts the same.
1998-10-07 23:47:44 +00:00
thorpej
588ccb2d75
Fix some typos in comments, and clean up some whitespace.
1998-10-07 23:33:02 +00:00
thorpej
6cfb33b4e4
Use the pool allocator for the tcpcb's TCP/IP header template.
1998-10-07 23:20:03 +00:00
erh
7d45dcb522
Kill the linux_old*.h includes (which are only used in the corresponding linux_old*.c). Add linux_siginfo.h.
1998-10-07 23:11:13 +00:00
erh
ecdbc1172b
Regen.
1998-10-07 23:08:26 +00:00
erh
358899800e
Change sys_mmap to NOARGS. (args defined in linux_sys_mmap.h). Typo: siginfo_t->linux_siginfo_t.
1998-10-07 23:07:30 +00:00
erh
1a89cf484f
Move linux_sys_mmap declarations to linux_mmap.h Make sure oldmmap.c includes oldmmap.h.
1998-10-07 23:06:17 +00:00
erh
8ce2ceae35
Fix typos.
1998-10-07 23:05:09 +00:00
erh
a956aca8aa
This needs its defines.
1998-10-07 22:58:19 +00:00
erh
47a9e7f352
Fix typos.
1998-10-07 22:50:42 +00:00
erh
baf6c8420d
Fix types. Kill old declarations.
1998-10-07 22:45:51 +00:00
erh
c7176f00e4
The siginfo include line is not needed here anymore.
1998-10-07 22:17:57 +00:00
erh
3bd73b1ef1
Add prototype for linux_sigprocmask1().
1998-10-07 22:13:39 +00:00
erh
ddbb7b3349
sigprocmask (non-rt) version doesn't exist on alpha. rename it to sigprocmask1 for use in linux_sys_sigprocmask and linux_sys_rt_sigprocmask.
1998-10-07 22:12:48 +00:00
erh
30f959e6c6
sigprocmask (non-rt version) doesn't exist on alpha. Add it here.
1998-10-07 22:11:16 +00:00
thorpej
010b1e5215
Erg, frame -> trapframe in last. (thanks to john kohl)
1998-10-07 21:25:35 +00:00
erh
15eaa765b7
Files moved. Change the paths here.
1998-10-07 20:50:44 +00:00
ross
b6553585ab
g/c leftover `{' in #if notdef; it confuses ctags(1)
1998-10-07 19:09:53 +00:00
thorpej
b38544d99e
Oops, back out a buglet I didn't intend to commit in the last change.
1998-10-07 18:29:26 +00:00
matthias
4b23112e21
Add empty definition of __warn_references for lint.
1998-10-07 08:54:59 +00:00
leo
d833f66c0c
Copyright stuff.
1998-10-07 07:22:32 +00:00
tsubai
d976f73513
Enable interrupt AFTER autoconfiguration.
1998-10-07 06:24:58 +00:00
scottr
8c9bf4e881
Use the size field to distinguish between ADDX and ADDA. Fixes a problem
...
pointed out by Paul Goyette.
1998-10-07 06:08:47 +00:00
scottr
651280426e
Fix a problem pointed out by Paul Goyette: print_reglist() forgets that
...
it had a range of registers to print if A7 is among them.
1998-10-07 05:27:13 +00:00
tsubai
31314a2d26
Mask clock interrupt properly if >= splclock.
1998-10-07 04:58:23 +00:00
enami
bd7db8ba8a
Enable early probe stage printf's not by DIAGNOSTIC but more driver
...
specific macro constants.
1998-10-07 04:58:06 +00:00
jtk
568398bad2
regen data files
1998-10-07 01:08:57 +00:00
jtk
3067a16f6e
update for a broken variant of the Linksys E-CARD
1998-10-07 01:08:37 +00:00
tron
8362affa14
Add a few "nop" instructions to make the memory size probe more reliable.
1998-10-06 22:26:42 +00:00
thorpej
d374462dfc
Move the code that does the deferred (post-autoconfiguration) buffer
...
cache allocation to its own function, and call it at the end of configure().
1998-10-06 21:42:08 +00:00
thorpej
abaeca8063
Move the calls to hwrpb_restart_setup() and cpu_run_spinup_queue() to the
...
end of configure().
1998-10-06 21:19:05 +00:00
thorpej
2038eb830c
Split hwrpb_restart_setup(), putting the code that initializes the vtpb
...
and primary hwpcb into hwrpb_primary_init(). Call the latter before
performing autoconfiguration().
1998-10-06 21:10:46 +00:00
thorpej
5a687aeb55
cold is already set to false at the end of configure().
1998-10-06 20:55:38 +00:00
thorpej
d681cf055a
configure() prototype is in <sys/device.h>
1998-10-06 20:50:15 +00:00
thorpej
fedd39b57d
Provide configure(), rather than open-coding it in cpu_startup().
1998-10-06 20:46:01 +00:00
thorpej
e3672cdf8a
Prototype configure() here, and make it a machine-dependent call that
...
MI code expects to exist.
1998-10-06 20:44:40 +00:00
pk
2727683a09
more DIAGNOSTIC sanity checks
1998-10-06 19:24:03 +00:00
thorpej
0729240c88
Move the "XXX re-zero proc0 user area" to the end of configure(), before
...
interrupts are enabled.
1998-10-06 18:58:09 +00:00
kleink
44b31a4395
Use #error instead of causing parse errors; noticed by Heiko.
1998-10-06 18:38:08 +00:00
dante
423c1d8dd3
Make AdvanSys narrow driver compile on BIG_ENDIAN machines.
...
Thanks to Izumi Tsutsui
1998-10-06 14:44:21 +00:00
leo
3e8b7d3139
Only return COMPLETE when polling.
1998-10-06 09:32:44 +00:00
leo
05ebc10205
Disable SCSI interrupts while polling for the transfer to finish. This
...
fixes spurious panics while booting my Hades. This bug could also occur
on a TT030.
1998-10-06 09:29:44 +00:00
leo
8a20859c2e
Some DEBUG fixups
1998-10-06 09:22:01 +00:00
leo
e3704a8e0b
Fix DEBUG printf
1998-10-06 09:19:36 +00:00
thorpej
53b61ccd14
Avoid a compiler warning.
1998-10-06 08:51:14 +00:00
perry
e7340f0ed3
Fix a potential Y2K bug on some clock chips: we were loading invalid
...
BCD into the year field of the RTC in years > 1999. It seems to have
worked just fine on my old broken down test machine, but apparently
some others actually get hurt. Suckage. We now make sure that we load
valid BCD.
Other ports should check for variations on this theme.
1998-10-06 05:52:23 +00:00
eeh
cd0dd24713
It seems taht 64-bit kernels need bigger stacks.
1998-10-06 05:18:55 +00:00
eeh
d0d18d5a83
Fix PIC code initialization.
1998-10-06 05:16:34 +00:00
matt
75f5ffdf21
Change backplace0 to mainbus0 (for consistency with other ports).
...
Remove unused function protocols from ka410.h and ka43.h
Fix some ka46 missing references
1998-10-06 04:04:30 +00:00
sakamoto
72e565d9b1
Fix unassigned minaddr for uvm_km_suballoc.
...
Eliminate space at end of line, and so on.
1998-10-06 03:48:12 +00:00
mark
6465aead84
Use braces instead of brackets to surround the SET_ICUS macro.
1998-10-06 02:43:26 +00:00
mark
de39833622
Add wsdisplay, wsmouse and wskbd devices.
1998-10-06 02:41:22 +00:00
mark
2bcc60adc6
Add declarations for wsdisplay, wsmouse and wskbd.
1998-10-06 02:40:13 +00:00
mark
edbbf502ab
Add wscons devices and options.
1998-10-06 02:39:00 +00:00
mark
8a012b843b
Include files.wscons
...
Add files.pckbc (commented out, pending fixing SHARK configs).
1998-10-06 02:37:59 +00:00
matt
af8a94ec80
Code references should use movab, not moval. Fix gas-2.9.1 complaints
...
with intvec.s
1998-10-06 02:07:30 +00:00
mark
08fbcdd506
Fix bug with the return value in filecore_label_locate(). This bug caused
...
an assertion to fail in disksubr.c if a label was written to a disk with
a filecore partition at the start of the disk.
1998-10-06 01:47:53 +00:00
rvb
71a653d388
Add Coda
1998-10-06 01:44:11 +00:00
mark
c0dc3eb90b
ADFS -> FILECORE
...
ADFS is a IDE instance of the filecore filesystem so rename ADFS to FILECORE
to reflect the underlaying filesystem and to bring this in line with the
filecore filesystem in the tree.
1998-10-06 01:17:27 +00:00
matt
bf4e491879
Fix boolean dyslexic test. Duh!
1998-10-06 00:41:13 +00:00
matt
8e8f38e0f2
Add a sysctl for newreno (default to off).
1998-10-06 00:20:44 +00:00
thorpej
5006dbf868
cpu_set_kpc() prototype is already in <sys/systm.h>.
1998-10-05 22:11:15 +00:00
tron
29c8a3aa85
Regen.
1998-10-05 20:38:17 +00:00
tron
1469dc411b
Correct vendor 0x1191 to "ACARD", add missing Matrox boards.
...
Fixes PR kern/6251 by Soren S. Jorvang.
1998-10-05 20:34:39 +00:00
pk
40beab6ad6
If a lock is held do not spin in a read/write loop but just read the lock
...
until it is released. This is easier on the bus cache coherency logic.
1998-10-05 19:58:19 +00:00
thorpej
11bc54234b
In epic_init(), attempt to start output on the interface once the interface
...
is initialized.
1998-10-05 19:10:22 +00:00
mark
b4dba57069
Footbridge based kernels do not need constab.
1998-10-05 16:03:04 +00:00