is
6054d626f9
Switching dev/ic/lpt.c to use spllpt() instead of spltty(). It doesn't use
...
tty structures, and on some machines (namely the DraCo internal lpt, and some
multi-i/o boards for Amigas and DraCos), tying spltty to the pretty high printer
interupt level would hurt serial performance.
On all affected ports but Amiga, spllpt() has been defined in machine/intr.h
to be spltty(), thus preserving old behaviour. Portmasters are encouraged to
change is, if they feel something else is better (e.g., one of its own were
possible).
1998-07-18 21:27:25 +00:00
thorpej
2fc1260cc0
Implement bus_dmamap_load_uio().
1998-07-17 21:09:59 +00:00
fair
86574cd4f8
patch to add "vi/ve" per PR#4583
1998-07-14 20:29:11 +00:00
mark
0756290d3f
Recognise the ALI M1543 in order to support ALI Aladdin V chipset
...
motherboards.
1998-07-13 03:31:57 +00:00
mark
7778b00444
Recognise the ALI M1541 in order to support motherboards with the
...
ALI Aladdin V chipset.
1998-07-13 03:30:52 +00:00
augustss
deb00272b9
Add USB support. Supported so far:
...
* UHCI and OHCI host controllers on PCI
* Hubs
* HID devices withe special drivers for mouse and keyboard
* Printers
1998-07-12 19:51:55 +00:00
thorpej
5f59f7e15a
Add i386 relocations.
1998-07-12 17:09:43 +00:00
perry
9ca2a54c6d
Set soundblaster irq to 5 by default.
1998-07-09 20:59:38 +00:00
drochner
d1da31d671
redo the PCI configuration mode detection - should make some less
...
standard compliant PCI chipsets work (Compaq, Connectix emulated Triton)
fix the bug reported in PR port-i386/5727 (soda@sra.co.jp )
1998-07-09 20:19:52 +00:00
drochner
acea5c2e79
add dependency to get the version number right
1998-07-08 17:47:42 +00:00
drochner
13b329cdd2
bump version number to reflect the partition ID change
...
(should have been done long ago)
1998-07-08 17:46:21 +00:00
thorpej
48abe1f910
From pmap.new.c (UVM case only):
...
Put the first 16M of RAM onto the "first16" free list, and everthing
else onto the default free list.
1998-07-08 05:41:59 +00:00
thorpej
1bd007d54b
Define 2 free lists: a default, and a "first16", which is where the first
...
16M of RAM goes (in an effort to protect ISA DMA-safe memory).
1998-07-08 04:38:33 +00:00
thorpej
26287d01ec
Put the first 16M of RAM onto the "first16" free list, and everthing
...
else onto the default free list.
1998-07-08 04:37:43 +00:00
thorpej
a5dd574b12
Attempt to pull buffer cache pages out of the "first16" free list, in
...
an effort to avoid bouncing file system buffers (it's not clear how much
of a win this is, and it'll be pointless w/ a unified buffer cache, but
what the heck).
1998-07-08 04:36:39 +00:00
drochner
cbb7aa93f0
from FreeBSD:
...
wpaul 1998/07/02 08:36:36 PDT
Modified files:
sys/i386/boot/biosboot start.S
Log:
Add workaround to allow the FreeBSD boot block to work on
Kapok Computer Co. notebook with AMI 'WinBIOS' which seems to insist
on having a short jump and nop as the first instructions in the
boot sector code. The prevailing theory is that the BIOS is doing
some sort of boot sector virus detection and refusing to run any
boot block that doesn't start with the same instruction sequence as
MS-DOG boot sector code. If this is the case, it would be nice if it
actually printed an error message to this effect instead of just
saying 'FAILED.'
This workaround has no effect on the boot sector code other than to
increase its size by three bytes.
1998-07-07 13:58:59 +00:00
thorpej
8f2575ec87
Use fixed-size types.
1998-07-07 04:29:42 +00:00
jonathan
d275e56dee
* defopt COMPAT_{09,10,11,12,13} and COMPAT_NOMID.
...
TODO: revisit interaction between native compat and emul compat usage.
1998-07-05 08:49:30 +00:00
jonathan
011f2bda08
defopt NS, NSIP.
1998-07-05 06:49:00 +00:00
jonathan
5c0c5dd0b4
defopt ISO TPIP.
1998-07-05 04:37:35 +00:00
jonathan
8db0fcdbf7
defopt CCITT.
1998-07-05 02:12:22 +00:00
jonathan
3751946b97
defopt INET, NETATALK.
1998-07-05 00:51:04 +00:00
jonathan
466e784ee1
defopt DDB.
1998-07-04 22:18:13 +00:00
mjacob
20f9998e6f
allow a config file to redefine MAXPHYS
1998-07-01 00:51:15 +00:00
perry
04b3a6bd4a
Tweak more.
1998-06-27 02:55:10 +00:00
perry
9209250625
Oops. fix typo.
1998-06-27 02:51:56 +00:00
perry
39b77211e9
Boost base year to 1995. 1985 was over 12 years ago.
1998-06-27 02:51:18 +00:00
drochner
64bf50c49a
add VT100 emulation option, make it default
1998-06-26 22:45:38 +00:00
cgd
75da3d4eaa
add device declarations for 'puc'-related devices. Add lpt attaching
...
to puc to the files file, because it can't go in files.pci (see comments
here or there).
1998-06-26 18:58:38 +00:00
cgd
d2ed6f63d6
sync with reality
1998-06-26 18:20:13 +00:00
thorpej
3f90953b05
Include COMPAT_* option headers I forgot earlier, pointed out by
...
Nathan Williams.
1998-06-26 06:54:08 +00:00
lukem
bd8d501f7e
remove options FIFO; it's now the default
1998-06-26 01:53:43 +00:00
thorpej
816e12eac2
defopt COMPAT_SVR4
1998-06-26 00:07:06 +00:00
thorpej
311bac3348
defopt COMPAT_IBCS2
1998-06-25 23:22:37 +00:00
thorpej
c466f11939
defopt COMPAT_LINUX
1998-06-25 23:18:23 +00:00
thorpej
1a2cb1b9d4
defopt COMPAT_FREEBSD
1998-06-25 22:49:18 +00:00
thorpej
971b8956ef
defopt KTRACE
1998-06-25 21:18:11 +00:00
sommerfe
7ba7fbbb23
Always include fifos; "not an option any more".
1998-06-24 20:58:44 +00:00
bouyer
05bc8c6a36
Update comment regarding conflict between wt driver and SMC ethernet boards.
...
Closes PR 4481 by Erik Bertelsen.
1998-06-24 05:38:09 +00:00
sommerfe
446beb9dc4
defopt COMPAT_386BSD_MBRPART into opt_mbr.h
1998-06-22 21:12:51 +00:00
drochner
fd1c99c7a3
prepare for integration of i4b (ISDN) - reserve 5 cdevsw[] entries
1998-06-16 11:03:28 +00:00
bouyer
9a862172cb
PCI_PRODUCT_VIATECH_VT82C586 is now PCI_PRODUCT_VIATECH_VT82C586_ISA.
1998-06-15 20:10:31 +00:00
drochner
64839bcf9d
document PCKBD_LAYOUT
1998-06-15 13:10:18 +00:00
kleink
1fbd0b3749
GC the unused `physadr' type, which was not able to hold a complete physical
...
address on 2 architectures anyhow. Also, move the definition of the `label_t'
type inside _KERNEL protection, since it is specific to the in-kernel
setjmp()/longjmp() implementations.
1998-06-14 20:09:22 +00:00
billc
3f29603abd
delete WARPED
1998-06-14 12:50:26 +00:00
billc
fcbc3ab14f
moved WARPED to updated NBFTP
1998-06-14 12:47:31 +00:00
cgd
651b44e211
Rework the way kernel include files are installed. In the new method,
...
as with user-land programs, include files are installed by each directory
in the tree that has includes to install. (This allows more flexibility
as to what gets installed, makes 'partial installs' easier, and gives us
more options as to which machines' includes get installed at any given
time.) The old SYS_INCLUDES={symlinks,copies} behaviours are _both_
still supported, though at least one bug in the 'symlinks' case is
fixed by this change. Include files can't be build before installation,
so directories that have includes as targets (e.g. dev/pci) have to move
those targets into a different Makefile.
1998-06-12 23:22:30 +00:00
drochner
684086c4c7
copy of GENERIC, but with wscons console
1998-06-12 15:42:02 +00:00
drochner
81fd096b37
Since wscons can support VT_xxx ioctl()s, enable them if NWSDISPLAY > 0.
...
Implement KDGKBTYPE and KDGKBENT, this will make X servers happy.
1998-06-11 22:26:13 +00:00
thorpej
f8e69a4627
Don't enable BUS_SPACE_DEBUG automatically if DEBUG is defined.
1998-06-09 22:53:57 +00:00
thorpej
02182100df
Use config_defer().
1998-06-09 18:49:33 +00:00
chs
a5550009e6
correct counting for uvmexp.wired:
...
only pages explicitly wired by a user process should be counted.
1998-06-09 05:18:52 +00:00
tv
00ede2160e
Change ddb_init() for a.out to provision for kernels which are not booted by
...
the current 'bootblock' method, like the Shark, which preloads and preformats
the symbol table right in the boot code.
1998-06-09 01:57:41 +00:00
thorpej
680a3d77f4
Add isa_dma{freeze,thaw}(), used to temporarily stop and then restart
...
all ISA DMA. Needed by e.g. the SmartCard reader for Sharks.
1998-06-09 01:04:17 +00:00
thorpej
e333272393
Change the ISA DMA API to take an isa_chipset_tag_t rather than
...
a struct device * corresponding to the ISA bus device. The ISA DMA
controller driver functions have been renamed and now take a struct
isa_dma_state *, and are called indirectly by machine-dependent code
which provides the DMA state.
These changes allow e.g. `ofisa' (the OpenFirmware configuration
mechanism for the ISA bus, used by e.g. Sharks) to use the MI ISA
DMA controller code.
1998-06-09 00:12:18 +00:00
thorpej
98d02e5c94
Provide an isa_chipset_tag_t to the ISA bus device.
1998-06-09 00:12:00 +00:00
thorpej
dde710c6f9
Adjust for changes to the ISA DMA API.
1998-06-09 00:11:34 +00:00
thorpej
ec7941bba2
Nuke __BROKEN_INDIRECT_CONFIG.
1998-06-08 06:45:55 +00:00
sommerfe
94de2146a9
Add ISA Plug and Play attachment for PCIC PCMCIA controller (pcic* at isapnp?).
...
Slightly modify ISA attachment to let the two share code.
1998-06-07 18:34:38 +00:00
thorpej
528bbb95ed
Add debugging support to the bus_space macros. If BUS_SPACE_DEBUG (or DEBUG)
...
is defined, the bus_space macros will check to ensure that the bus address
and the target buffer (if applicable) are aligned properly for the size
of the type being used. If they are not, a message will be displayed on
the console.
While strict alignment is not strictly necessary on the x86, ensuring
proper alignment can aid performance, and help make drivers more portable
to architectures (like the Alpha and StrongARM) which _do_ require strict
alignment.
1998-06-07 03:32:32 +00:00
enami
c0c7384dde
Also, remove space at the end of line.
1998-06-07 03:01:05 +00:00
enami
207a6dcab6
Use TAB instead of two space to indent.
1998-06-07 02:36:53 +00:00
enami
e33ef0027d
Remove TAB after `options I686_CPU'.
1998-06-07 02:34:41 +00:00
thorpej
9553573381
If we have APM, only power down if RB_POWERDOWN was specified (fall into
...
RB_HALT case if it fails).
1998-06-06 21:27:31 +00:00
augustss
db50fa53b8
Add Aria driver.
1998-06-06 10:14:21 +00:00
thorpej
6d29690288
Implement bounce buffers for mbufs.
1998-06-03 21:50:48 +00:00
mjacob
23a5420f99
turn on Essential HIPPI for this configuration
1998-06-03 21:17:52 +00:00
frueauf
554cce1e94
Remove double "options GATEWAY" entry.
1998-06-03 10:03:25 +00:00
thorpej
051c391187
Optimize the ISA DMA map load somewhat; don't traverse the buffer twice.
...
Instead, just attempt to do a normal load first. If we exceed the bounce
threshold or the number of segments, then we bounce the transfer.
1998-06-03 06:37:54 +00:00
thorpej
66f9322f5f
EISA and PCI do not require bouncing; specify a bounce threshold of 0.
1998-06-03 06:35:49 +00:00
thorpej
7b2ef456f0
When loading a DMA map, if the page's physical address exceeds the bounce
...
threshold, return an error to the caller (the caller will attempt to
bounce the transfer).
1998-06-03 06:35:04 +00:00
thorpej
f018f866d7
Add a `bounce threshold' to the i386 DMA tag.
1998-06-03 06:33:02 +00:00
thorpej
50be447da3
Sync the bus_dmamap_load back-end functions between alpha and i386. (only
...
slight, unnecessary differences)
1998-06-03 04:15:05 +00:00
thorpej
7022024d4a
Add epic* at pci?
1998-06-02 01:43:33 +00:00
kleink
e6be56ae0b
Need <stdlib.h> for mktemp() prototype.
1998-06-01 14:05:35 +00:00
thorpej
a7f360c6c9
Specify a non-profiling C rule.
1998-05-31 23:25:41 +00:00
veego
4519b25f6c
Add options COMPAT_386BSD_MBRPART.
1998-05-31 13:53:42 +00:00
bouyer
94d805aff1
Add handling of DMA boundary barrier in _bus_dmamap_load_buffer(). This
...
affects all bus_dmamap_load* functions of bus_dma(9).
While I'm there fix a bug where the dm_segs array could be overflowded by one.
1998-05-29 16:48:09 +00:00
drochner
dd457b5369
pull in new PC display headers
...
support "pcdisplay" console device
1998-05-28 16:56:26 +00:00
drochner
dc8a7077ed
Handle the i386/PMAP_NEW copyout() differently:
...
Don't try to avoid faults when the PTEs are checked. Set pcb_onfault
instead so that trapwrite() is called as if the PTE were RO.
This is faster than explicitely ckecking the PDEs - at least in the
majority of calls where the PT is already present.
Thanks to Stefan Grefen for input and testing.
1998-05-27 15:53:30 +00:00
kleink
a97fc2f180
If any of _ANSI_SOURCE, _POSIX_C_SOURCE or _XOPEN_SOURCE are defined, don't
...
provide any identifiers other than sig_atomic_t.
1998-05-25 20:59:01 +00:00
drochner
480294be7d
remove assumption about code aligment after "jmp"
...
(is not worth the possible confusion)
1998-05-24 12:04:23 +00:00
fvdl
27fea992a8
Add the newer PII (model 5) and newer AMD K6 (model 6,7) plus the
...
AMD K6-3D (model 8) to the cpu type table.
1998-05-21 23:34:40 +00:00
thorpej
2352dfea2b
Make this compile with LOCKDEBUG.
1998-05-20 17:32:13 +00:00
drochner
6de27a7083
Make copyout() and Co. work with PMAP_NEW on real i386 processors.
...
PMAP_NEW doesn't fault in page table pages automatically on access to
PTmap[], so we have to check the PTD explicitely.
If a PTP is needed, call uvm_fault(). pmap_enter() will DTRT.
Move calculation of the index into PTmap[] inside the loop in copyoutstr()
(non-PMAP_NEW case). Page boundary crosses are rare, so this should save
some cycles in average.
1998-05-20 16:30:54 +00:00
augustss
796e91b2a7
Add ym (Yamaha OPL3-SA3) driver.
1998-05-20 16:25:06 +00:00
thorpej
89835ce0fd
Correct a typo in some code that isn't yet used.
1998-05-19 22:09:00 +00:00
thorpej
6626878e7b
It is no longer necessary for pmap_pinit() and pmap_release() to be
...
pmap interface functions, as NetBSD no longer uses statically allocated
pmaps (except for the kernel pmap, which is special-cased anyhow).
1998-05-19 19:00:11 +00:00
drochner
4153971158
Framework to test standalone code in a friedly user environment.
1998-05-15 17:07:14 +00:00
drochner
a8857f05e8
Allow to use the code in user land test programs.
1998-05-15 16:38:53 +00:00
drochner
12d352b2f9
minor corrections
1998-05-14 18:34:11 +00:00
drochner
04682788a9
misc improvements:
...
-initialize errno to 0 before receiving
-minimal allowed packet size is 4 (empty data packet)
-Be nice to the TFTP server - tell it that the transfer is finished
(additinal ACK at EOF, ERROR otherwise). Otherwise, it will linger
around and retransmit. This can be left out (TFTP_NOTERMINATE) if we
are really short on space.
1998-05-14 18:26:47 +00:00
drochner
2e9a412d43
allow to use from user space test programs
1998-05-14 18:17:44 +00:00
drochner
26d2f5e3b6
allow to access from user space test programs
1998-05-14 18:15:02 +00:00
kleink
687ea7404c
Fix some arithmetics lossage on typeless pointers.
1998-05-08 16:55:15 +00:00
mycroft
c85dd6f9e1
Fix botch in i386 copyoutstr() case. The index into the page table was
...
corrupted after the first page. From Matthias Drochner.
1998-05-08 10:05:47 +00:00
drochner
2a3fff85f0
add RCS ID
1998-05-06 13:32:18 +00:00
chuck
7704d6d342
correct some addresses in the comment that i missed when
...
KERNBASE changed a while back (from Matthias Drochner)
1998-05-05 01:36:46 +00:00
thorpej
88e3ea0922
Use pci_bus_flags().
1998-05-04 18:49:33 +00:00
thorpej
c099eb3a4a
Add a function, pci_bus_flags(), that determines which flags (for memory
...
and i/o enabled) should be passed to the primary PCI bus's autconfiguration
node. Use this function to detect broken PCI-Host bridges, which have
problems with memory-mapped access. Add the SIS 85C496 to this list.
1998-05-04 18:49:07 +00:00
thorpej
627388689b
Whitespace.
1998-05-04 06:09:35 +00:00
drochner
8b49b1c0b1
Set console to polling mode before calling cngetc().
1998-05-03 10:14:19 +00:00
augustss
7458164379
Add Ensoniq AudioPCI driver.
1998-05-01 22:00:37 +00:00
thorpej
1686aca01d
Pull in opt_gateway.h as appropriate.
1998-04-29 23:11:00 +00:00
thorpej
a6084492d9
Fix some whitespace.
1998-04-28 02:04:13 +00:00
kleink
a53c1863fe
Provide definitions for intptr_t and uintptr_t, signed resp. unsigned integral
...
types large enough to hold any pointer.
1998-04-27 17:39:10 +00:00
thorpej
aefae6b463
Eliminate some needless indirection through ISA DMA front-end functions.
1998-04-27 00:21:57 +00:00
thorpej
ff701f8abb
Garbage-collect the DMA tag's "_cookie" member; it's not used for anything.
1998-04-26 22:37:20 +00:00
drochner
92b545d880
There are NE2100 compatible cards which cannot IRQ 10.
...
Use IRQ 9 in the default configuration.
(Thanks to Rick Byers <rickb@iaw.on.ca>.)
1998-04-20 10:58:01 +00:00
drochner
543407f7ee
use the mi header (dev/pckbc/pckbdreg.h)
1998-04-17 13:09:23 +00:00
drochner
fa82ea6398
it's mi now (dev/isa)
1998-04-17 13:06:48 +00:00
drochner
6af8040a5c
-"spkr" now attaches to "pcppi"
...
-"le at isa" is split into "depca", "nele" and "bicc"
1998-04-16 22:01:41 +00:00
drochner
bf23ba7b87
add a device node for "sysbeep at pcppi"
1998-04-16 20:16:28 +00:00
drochner
46f77d75da
Make sysbeep() use dev/isa/pcppi. (sysbeep0 at pcppi?)
...
Remove findcpuspeed() - it's useless and was commented out for a while.
1998-04-16 20:15:10 +00:00
drochner
3ae87f413f
"spkr" is now mi. Keep this file for compatibility.
1998-04-15 21:40:27 +00:00
drochner
7689c5d866
remove unneeded stuff
1998-04-15 21:39:01 +00:00
drochner
816be100e0
Remove initialization macros for wsdisplay / spkr - they are in mi
...
sys/conf.h now.
1998-04-15 21:31:40 +00:00
drochner
2aa1ce8196
VGA and spkr are now MI.
1998-04-15 21:27:47 +00:00
frueauf
f7a146be7b
Add isa/pcvt to SUBDIR, this will install /usr/include/machine/pcvt_ioctl.h
...
which is needed by our default xsrc on i386. Closes pr 1391.
1998-04-13 21:54:30 +00:00
tv
b21bfbde11
Add -Wno-main conditional on compiler being gcc 2.8 or egcs. (This adds
...
a HAVE_GCC28 check-variable that can now be used to add other gcc-2.8
flags in cases where they may be useful, or to remove gcc 2.7.2 "bug
workaround" flags.)
1998-04-12 23:47:41 +00:00
tv
482063559a
.y.c <sys.mk> rule fixes. Don't create a y.tab.h file unless asked for,
...
and use smarter creation of the header file.
1998-04-09 00:32:31 +00:00
thorpej
8e115c7176
Fill in pmap_collect(), doing what the Alpha port's pmap does - forget
...
the physical mappings for the entire address space, thus freeing up
the page tables held by the pmap.
1998-04-07 18:32:10 +00:00
cgd
b81a5e0d4c
set apm_damn_fool_bios on standby request if another request is
...
already in progress (as is done in the suspend case). Suggested
by Soren S. Jorvang in PR 5246, but diff in that PR cleaned up so
it'd still work right when debugging printfs were enabled.
1998-04-03 18:18:05 +00:00
enami
f7fc870789
Add entry for aic* at isapnp, but comment outed.
1998-04-03 04:35:39 +00:00
enami
6821ff25c2
Add entry for aic* at isapnp.
1998-04-03 04:35:05 +00:00
enami
6223459801
Add entry for mbe* at pcmcia (but comment outed).
1998-04-03 04:29:52 +00:00
enami
c95ab20c4a
Add entry for mbe* at pcmcia.
1998-04-03 04:29:13 +00:00
enami
078370be30
Add comment outed entries for ate0 and fmv0.
...
Remove fe0.
1998-04-03 04:25:15 +00:00
enami
b1b3597d5e
Add entries for ate0 and fmv0 (former is tested but latter is not).
...
Remove fe0.
1998-04-03 04:23:50 +00:00
cgd
0d0f2a0713
kill unnecessary (unused) definition of partab (char partab[];), which
...
caused a compiler warning with egcs.
1998-04-02 02:46:02 +00:00
drochner
e9ca6a9081
Remove conditionals on PCVT_{NET,FREE}BSD to make the source easier to
...
read.
1998-03-31 08:22:13 +00:00
thorpej
7e74fb627d
Allow this to work w/ UVM (API issue).
1998-03-31 08:18:33 +00:00
thorpej
8c33969680
Fix PR # kern/68 by ensuring that a PC has a valid mapping before attempting
...
to disassemble it.
1998-03-31 08:16:28 +00:00
mycroft
4fe1e7a83d
Make main() return int to shut up egcs. (Yuck.)
1998-03-31 05:29:21 +00:00
mycroft
1a36e9e970
Add explicit int types for egcs.
1998-03-30 06:07:40 +00:00
mycroft
1fc84bbd8d
Add explicit int types for egcs, and nuke register.
1998-03-30 06:05:39 +00:00
mycroft
450748892d
Make the previous slightly less nasty.
1998-03-30 06:04:29 +00:00
mycroft
38008a99e3
Add explicit int types for egcs, and nuke register.
1998-03-30 06:02:13 +00:00
tron
8295d8475b
writedisklabel() always used the offset of the first partition in the MBR
...
to address the disklabel even if NetBSD resides on another partition.
1998-03-29 21:30:20 +00:00
cgd
7fa109343c
cope with name fixup in pcidevs
1998-03-28 02:12:02 +00:00
cgd
b3d285e625
add -nostdinc to CPPFLAGS, so that /usr/include won't be used
1998-03-27 01:32:53 +00:00
chuck
5f8c3edfed
add pmap_dump as a DEBUG function
1998-03-26 19:49:51 +00:00
chuck
1c1186a3f2
the kernel remove function can encounter mappings that are on the
...
pvlists if they were entered by the fault routine. in this case
we had better call pmap_remove to clear out the pventry structures.
appears to fix some pvlist releated panics people have seen with pmap.new.
1998-03-25 22:49:11 +00:00
chuck
a30817ebaa
if installing page 2 as a PT page for first 4M (for BIOSCALL),
...
make sure we zero it first so that the PT is not filled
with random garbage
1998-03-25 16:30:43 +00:00
frueauf
65b1639385
Make this compile again: PCKBDCF_PORT->PCKBCPORTCF_PORT.
1998-03-24 11:37:06 +00:00
drochner
db80fc3242
The "pckbd" attribute of pc/vt is now "pckbcport".
...
Use the real console driver name here to make more obvious where
pms and spkr attach to.
1998-03-22 18:18:45 +00:00
drochner
4682d49cf1
tell drivers that this port knows about the new wscons code
...
(and generates the NWSCONS etc include files)
1998-03-22 17:53:23 +00:00
drochner
f321f0c731
add entries for the new wscons stuff
1998-03-22 17:50:12 +00:00
drochner
d4d8012d51
Export pcconskbd_cnattach() - it is used if pccons attaches to the MI
...
keyboard controller driver.
1998-03-22 17:49:00 +00:00
drochner
c4a9c8a96e
Allow to use pccons with the new MI keyboard controller driver.
...
This is more or less for testing (it doesn't contribute to the beauty
of the code).
1998-03-22 17:40:08 +00:00
drochner
a773a26ab1
Allow to attach the mouse driver to the new MI keyboard controller driver.
...
This should allow to use old X servers which depend on the old mouse
interface to work in the future.
XXX There can be only one attachment - either to an old console driver
or to the new pckbc driver - be configured.
1998-03-22 16:48:51 +00:00
drochner
e6244ecd3a
allow use of new wscons code:
...
-rename the "pckbd" internal attribute to pckbcport, it conflicts with the
real pckbd device in dev/pckbc
-add attachments of pccons and pms to the new mi keyboard controller
driver (more or less for testing)
-include the new "files.wscons" and "files.pckbc"
-add declarations for VGA - must be done here for now to avoid conflicts
with alpha's private VGA driver
1998-03-22 16:14:39 +00:00
drochner
528890f3ab
Allow to use the new VGA and keyboard controller drivers as console:
...
-allow to bus_space_map() for the memory hole in early startup
-add calls to the new XXX_cnattach() functions to consinit()
-add a "pckbc_machdep_cnattach()" dispatch function to allow the
combination of old console driver - new keyboard controller driver
1998-03-22 16:04:31 +00:00
drochner
06471a2eed
switch to non-BROKEN_INDIRECT_CONFIG
1998-03-22 12:52:03 +00:00
mycroft
2ada4b4af1
Replace TS_WOPEN with t_wopen, per mail on tech-kern.
1998-03-21 04:02:47 +00:00
mycroft
919340aaa5
In npxdna(), if there was an exception state in the FPU but npxproc was
...
null, the frstor would fault on a PPro. I'm pretty sure this is not
how the chip is supposed to behave, but it's easy enough to do a fninit
to throw away the exception state.
Also, some other minor changes to the documentation.
1998-03-20 20:15:14 +00:00
bouyer
9f50fca1fd
Add commented out "options FFS_EI"
1998-03-18 16:34:41 +00:00
chuck
1e137afb43
typo in printf
1998-03-17 22:09:32 +00:00
cgd
9b6471a47d
remove a few unnecessary and incorrect pointer checks.
1998-03-17 21:27:25 +00:00
chuck
6282e70846
print more info for a diagnostic panic
1998-03-17 19:15:07 +00:00
leo
6356561f35
Use bus-dma functions. Also make sure that dma will not use the bounce
...
buffers (Tested & requested by Noriyuki Soda).
1998-03-16 15:48:00 +00:00
chuck
b87759e7f2
bug fix: bring in-line with rest of uvm: use kernel_map for object offset
...
rather than kmem_map. should fix PR#5129 reported by
Lennart Augustsson.
1998-03-10 14:53:20 +00:00
mikel
7d4b078022
print proper invalid IRQ, from Heiko Rupp in PR 5128
1998-03-09 06:20:26 +00:00
drochner
84963f97b5
Move allocation and mapping of the page table page for "bioscall" from
...
locore to here.
1998-03-06 14:53:06 +00:00
drochner
25f48b177c
Use NKPDE page table pages (instead of only one) for temporary mapping
...
in transition to relocated mode.
Remove preparation for "bioscall" identity mapping - it is in the way
and can be done later in init386().
Should solve the problem described in PR 4832 and 5102.
1998-03-06 14:51:36 +00:00
jtk
4fcd1c2cdd
include <machine/vm86.h> if VM86 option defined
1998-03-06 04:12:56 +00:00
scottb
d24f809241
Added prototype for ibcs2_sendsig.
1998-03-05 05:23:49 +00:00
scottb
b8bb612601
Add ibcs2_sendsig function.
...
Add ibcs2_sigcode function to locore because we need to call our own
version of sigreturn.
Add support for emul_ibcs2_xout (XENIX) structure because we need to emulate
some syscalls differently.
1998-03-05 04:20:44 +00:00
cgd
8854631e5f
add file declarations for MD pciide file.
...
add (temporary) device/file declarations for the MI PCI IDE controller
driver. These are present here until the wdc declaration mess is
resolved, because until then they need to go into MD files files in
places where they play nice with the wdc declaration.
1998-03-04 06:40:29 +00:00
cgd
ccdea2d9c8
machine-dependent bits (for compat interrupt mapping) of PCI IDE driver.
1998-03-04 06:35:47 +00:00
cgd
9da165424c
allow LDSTATIC definition to be overridden by bsd.own.mk/mk.conf
1998-03-02 19:57:00 +00:00
fvdl
25bc5ab033
Don't make simple_lock decls dependent on NCPU > 1, be consistent with
...
the rest of the kernel.
1998-03-02 18:06:32 +00:00
mikel
dfb1317f8a
remove some lint; from Thorsten Frueauf in PR 5085.
...
also made one implicit int declaration explicit.
1998-03-02 06:20:16 +00:00
mikel
3119a26ccd
s/CFLAGS/CPPFLAGS/
1998-03-02 06:17:29 +00:00
fvdl
25a2f5ee46
Put #if NCPU > 1 around initialization of simple_locks too, to avoid
...
compile errors.
1998-03-01 23:19:01 +00:00
augustss
1918ca1e5b
Change ie[01] to ef, ai, and ix so that these kernels can be used again.
1998-03-01 20:45:26 +00:00
fvdl
0485953099
Make this compile after the lite2 merge.
1998-03-01 13:22:55 +00:00
pk
32ad582965
Replace monolithic `ie0' and `ie1' driver by `ef', `ix', `ai' front-ends.
1998-02-27 23:57:31 +00:00
cgd
84fad9aba3
make it clear that the "old BSD partition ID!" message is a warning (by
...
prefacing it with "WARNING: ").
1998-02-27 18:57:40 +00:00
perry
edac6b7ff2
define kernel only inline static functions only #ifdef _KERNEL
1998-02-26 01:57:30 +00:00
perry
398e0f8c64
add /* LINTLIBRARY */ to supress lots of "unused function" warnings
...
from lint.
1998-02-25 22:36:45 +00:00
perry
1ed8ea9966
note second parm of sysarch() is now void *, + trivial KNF, etc.
1998-02-25 21:41:55 +00:00
perry
56c01cbd82
change second parm of sysarch() from char * to void *
1998-02-25 21:24:56 +00:00
drochner
3ee0e26f7d
document 3c900 TPO support, add comments
1998-02-25 12:19:12 +00:00
drochner
41bbe0c360
3c900 TPO works too, as reported by Feico Dillema <dillema@acm.org>.
1998-02-25 12:15:49 +00:00
drochner
e225b4cbdd
-check MBR signature before using MBR partition data
...
-add new FAT types and Linux EXT2 to the faked-up partition table
1998-02-22 14:48:27 +00:00
drochner
74b401ffd1
-correct misleading name and comment for MBR partition type 14
...
-add FAT32 and EXT2FS
1998-02-22 14:45:43 +00:00
mycroft
4b6d15532b
Nuke random.s.
1998-02-22 08:21:33 +00:00
mycroft
5a22434af5
Remove this copy of bzero().
1998-02-22 08:19:05 +00:00
mycroft
f118bc7042
Move to libkern.
1998-02-22 08:13:47 +00:00
mycroft
03f75a79ff
Nuke the override of libkern SRCS from orbit.
1998-02-22 07:19:02 +00:00
christos
4e915f8681
PR/4950: Rene Hexel: Add id for Terratec EWS64 joystick
1998-02-21 13:19:14 +00:00
frueauf
5e3035adb1
include <unistd.h> for optarg/optind.
1998-02-20 09:19:11 +00:00
mycroft
7aad596fa6
Fix formatting glitch.
1998-02-19 23:21:33 +00:00
drochner
0587f7e6e7
add COMPAT_386BSD_MBRPART option
1998-02-19 14:21:57 +00:00
drochner
ce380ad936
enable "old partition ID" compatibility per default
1998-02-19 14:18:36 +00:00
drochner
ad33d83f8b
Add compatibility code (#ifdef COMPAT_386BSD_MBRPART): look for 386BSD
...
partition ID if the NetBSD ID was not found.
Cleanup, use definitions from <machine/disklabel.h>
1998-02-19 14:15:38 +00:00
drochner
411e77cac8
Add compatibility code (#ifdef COMPAT_386BSD_MBRPART): look for 386BSD
...
partition ID if the NetBSD ID was not found.
1998-02-19 14:12:48 +00:00
drochner
7d1b6dbcbf
-define new own partition ID for NetBSD (0xa9)
...
-protect structure definitions from inclusion in assembler files
1998-02-19 14:10:34 +00:00
drochner
b3019be867
Use an own NetBSD MBR partition type. Add compatibility code for fallback
...
to the old 386BSD ID (#ifdef COMPAT_386BSD_MBRPART).
basically from Duncan McEwan <duncan@MCS.VUW.AC.NZ>
1998-02-19 14:07:33 +00:00
thorpej
772da350d4
Disable the message buffer during crash dumps by clearing msgbufenabled,
...
not msgbufmapped.
1998-02-19 04:18:30 +00:00
perry
8486362eaf
remove obsolete boot code -- we now use the code in stand/
1998-02-18 19:23:23 +00:00
perry
3add465995
remove obsolete netboot code -- we now use the code in stand/
1998-02-18 19:21:36 +00:00
mycroft
c525e48e35
Include correct information for long doubles (i387 extended precision).
1998-02-18 09:22:02 +00:00
thorpej
edbfcebb6a
Fixup an inconsistency in the declaration of PTDpaddr, pointed out by
...
Chris Demetriou.
1998-02-18 03:04:40 +00:00
cgd
3bbb7f7d45
Move pmap_map() function definition to MD headers, as appropriate. It's
...
an internal function, and the VM system shouldn't try to prototype it.
(Note that some ports _don't_ prototype it.)
1998-02-18 02:05:32 +00:00
thorpej
b7d1ce7766
Switch the i386 port to the new kernel crash dump format.
1998-02-18 01:09:25 +00:00
thorpej
8354e68508
Remove "class" declarations, and add "devclass" declarations where
...
appropriate. Fix several inconsistencies between device class and
attributes. Mostly from Chris Demetriou.
1998-02-16 22:12:45 +00:00
drochner
07fdccb3a4
Document new WD80x3 option.
1998-02-16 11:41:14 +00:00
drochner
509f891bd0
-Completely reset the card in EtherStop(), otherwise the next
...
open can fail.
-Disable interrupts in the mask register - EP_W0_RESOURCE_CFG is not
sufficient for PCI cards.
1998-02-16 11:26:36 +00:00
drochner
b8cdacb8d5
Redo standalone driver for WD8013 / SMC Ultra boards.
...
(The old one was buggy.)
Frontend / backend splitup and most code taken from sys/dev/ic/dp8390.c
and sys/dev/isa/if_we.c.
1998-02-16 11:21:59 +00:00
mrg
7d9acb9bb6
add a commented out PMAP_NEW.
1998-02-13 04:12:33 +00:00
thorpej
cb9500aac0
Fix for defopt'd UVM and PMAP_NEW.
1998-02-11 03:05:35 +00:00
thorpej
e9017a5ab3
Use kernel_map in bus_dmamem_{map,free}().
1998-02-11 03:03:52 +00:00
thorpej
30aa56fc66
Use M_DMAMAP where appropriate.
1998-02-11 01:37:51 +00:00
mrg
d90485202c
- add defopt's for UVM, UVMHIST and PMAP_NEW.
...
- remove unnecessary UVMHIST_DECL's.
1998-02-10 14:08:44 +00:00
scottb
2ee5fa7f17
iBCS2 code cleanup
...
added support for ELF binaries
added support for ELF shared libs via mmap code borrowed from svr4_misc.c
incorporated a few XENIX patches from Andreas Wrede <andreas@planix.com>
1998-02-09 02:30:42 +00:00
thorpej
1305ecbe62
Allow callers of uvm_km_suballoc() to specify where the base of the
...
submap _must_ begin, by adding a "fixed" boolean argument.
1998-02-08 06:15:53 +00:00
thorpej
9eb328b495
RCS ID police.
1998-02-06 22:26:13 +00:00
thorpej
2d1cb11d5b
Allow userland access to pd_entry_t and pt_entry_t, like the old pte.h
...
used to do. Also, RCS ID police.
1998-02-06 21:58:05 +00:00
cgd
82bb6682da
re-indent the EX_FAST change (try to keep a given argument on one line,
...
so that it's more apparent what the code is going).
1998-02-06 19:51:54 +00:00
mrg
30a584067f
remove paging options from kernel files.
1998-02-06 11:20:27 +00:00
thorpej
c0c3c30be3
When allocating bus space in bus_space_alloc(), use EX_FAST to find
...
the first fit in the map. The previous behavior violated the principle
of least surprise (especially annoying when you're debugging space allocation
problems). Suggested by Chris Demetriou.
1998-02-06 10:06:51 +00:00
thorpej
374b6294f9
Back out previous change. Until the default VM system is UVM, these
...
"options" ARE required, and leaving them here doens't hurt anything in
the UVM case.
1998-02-06 08:19:23 +00:00
thorpej
10a076eee1
Kernel for zhadum.netbsd.org, soon-to-be CVS server.
1998-02-06 08:08:56 +00:00
thorpej
424e1858c4
Use __BROKEN_INDIRECT_CONFIG where appropriate.
1998-02-06 08:00:52 +00:00
thorpej
b16f0280e3
Add pceb at pci and {eisa,isa} at pceb attachments.
1998-02-06 07:53:26 +00:00
thorpej
9c9a25df29
Don't attach an EISA bus if it's already been configured.
1998-02-06 07:52:13 +00:00
thorpej
cacadb7fbe
Erg, typi.
1998-02-06 07:51:46 +00:00
thorpej
fce12f0081
Notify other machine-dependent code that the EISA bus has been configured
...
in the attach hook.
1998-02-06 07:51:11 +00:00
thorpej
e56b1d0b2d
Add an autoconfig node for PCI-EISA bridges. Configures EISA and ISA
...
bridges via callback.
1998-02-06 07:50:07 +00:00
mrg
6bcccb887c
oops, forgot to add these new files
1998-02-06 07:41:33 +00:00
mrg
29e93b8bea
add the i386 MD portions for UVM.
1998-02-06 07:21:42 +00:00
thorpej
939995c0dc
On the 486 and higher, actually make the bus mem space mapping noncacheable
...
if mapped with BUS_SPACE_CACHEABLE unset.
1998-02-06 05:35:16 +00:00
drochner
ac884fce95
Allow DELAY() to be called anytime:
...
-don't enable interrupts at the end of gettick(), restore the previous
state instead
-start timer/counter 0 from delay() if necessary
-comment out "findcpuspeed()", it would clobber the timer again, and it
is unused anyway
1998-02-05 19:59:54 +00:00
drochner
3f38ea4063
provide pushfl/popfl to C code
1998-02-05 19:53:52 +00:00
thorpej
8abe76d2f0
Add offset and length parameters to bus_dmamap_sync(), used for specifiying
...
partial syncs of a DMA mapping.
1998-02-04 05:12:46 +00:00
thorpej
99cc8482d1
Change the last argument of bus_dmamap_sync() from bus_dmasync_op_t to int,
...
and allow more than one synchronization operation to be specified in
a single call. Dissallow mixing of PRE and POST operations.
1998-02-04 01:57:27 +00:00
thorpej
a7c5c1ef3c
Add dm_mapsize to bus_dmamap_t and rename BUS_DMAMEM_NOSYNC to
...
BUS_DMA_COHERENT.
1998-02-04 00:32:55 +00:00
thorpej
b7b27cb6e4
Back out a change that wasn't supposed to be in here.
1998-02-03 19:16:04 +00:00
mycroft
b5c132e4d2
Prototype __flt_rounds() consistently.
1998-02-03 01:26:20 +00:00
tron
56ba21e271
Add option "#options IPFILTER_LOG", fixes port-i386/4858.
1998-01-29 01:53:03 +00:00
bouyer
2edc21452a
The name of cyrix's CPU family 6 model 0 is 6x86MX. Also set this name
...
for the default name.
1998-01-28 17:08:05 +00:00
thorpej
5d3fc3e8bc
Implement bus_dmamap_load_mbuf().
1998-01-27 03:31:54 +00:00
mycroft
1f21545d93
Correct an oversight in the startup changes that caused the wrong exception
...
to be reported in one case.
1998-01-24 15:50:42 +00:00
mycroft
8661bee5de
Minor change.
1998-01-24 14:22:44 +00:00
mycroft
d664bf39b8
Add some comments about what the control words do.
1998-01-24 14:00:36 +00:00
mycroft
a963fe5864
Store the initial NPX control word appropriate for the emulation in the saved
...
FPU state, and use it when initializing the FPU on demand.
1998-01-24 13:19:46 +00:00
mycroft
a9a7cc88d1
Need foo_exec.h.
1998-01-24 12:45:16 +00:00
drochner
ae1a2006c5
-take over debugging printf format fixes from sys/lib/libsa/nfs.c rev.1.23
...
-make error reporting for mount working as in sys/lib/libsa/nfs.c
1998-01-24 12:43:09 +00:00