Commit Graph

22745 Commits

Author SHA1 Message Date
pk
0f93e72a5d Add mtty' and mbpp' entries for the magma driver by Iain Hibbert. 1998-05-20 00:04:33 +00:00
pk
9c1918e458 Add CD1400_PAR_FIFO_SIZE. 1998-05-20 00:03:11 +00:00
pk
5fd81fa9ec Add entries for the magma SBus serial/parallel port driver. 1998-05-20 00:00:12 +00:00
pk
4e62cce89a Magma SBus serial & parallel port driver from Iain Hibbert. 1998-05-19 23:58:54 +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
e1f67ace67 Initialize the "curattr" member of the emulation data in early console
setup -- it is used to fill empty space.
Fixes 2/3 of PR kern/5457 (Jason Thorpe).
1998-05-19 18:47:13 +00:00
thorpej
ca819f2940 Argh, finish renaming Lev1map to kernel_lev1map. 1998-05-19 18:35:11 +00:00
thorpej
9556e0bd1e Nuke #if 0'd pmap_bootstrap() declaration. 1998-05-19 18:12:27 +00:00
hpeyerl
a0872a3916 duh. need SYSV* stuff. 1998-05-19 15:20:40 +00:00
pk
564ca8fafd Don't bzero() the IO page table; it is fully initialized in iommu_attach(). 1998-05-19 09:17:32 +00:00
pk
9dae8945ef In kvm_uncache(), turn off the PTE cache bit even after calling
pv_changepte(). Reason: the managed() macro does not take into
account the gap in the managed pages range that may have been introduced
by the page table allocation in bootstrap().
1998-05-19 09:14:34 +00:00
thorpej
eaf145ad5e Make function naming consistent, and teach pmap_pv_dump() about page
usage types.
1998-05-19 05:21:34 +00:00
simonb
76e48472e6 Include pmax/pmax/pmaxtype.h for definition of DS_PMAX 1998-05-19 04:31:27 +00:00
simonb
9b60278e42 Change external declaration of kdbpeek to match reality. 1998-05-19 04:11:50 +00:00
thorpej
dc13176aec No need to keep global pointers to the initial kernel level 2 and level 3
page tables.  Also, rename Lev1map to kernel_lev1map.
1998-05-19 02:57:01 +00:00
thorpej
804e5be6f7 Nuke `register'. 1998-05-19 02:43:48 +00:00
thorpej
293854e385 Put pmap_initialized in the BSS segment. 1998-05-19 02:42:41 +00:00
thorpej
ca12fa7ebe Make PT page reference counting more generic so it can be used for other
special use page types.
1998-05-19 02:04:28 +00:00
thorpej
8fdc16212f The Alpha architecture has a variable page size; don't hardwire the
number of PV entries per page at compile time.
1998-05-19 00:42:16 +00:00
thorpej
b44dc2ecbf Make the page attribute manifest constant names have similar form to
page usage manifest constant names.
1998-05-19 00:29:03 +00:00
thorpej
180f140a85 Keep track of page usage inside the pmap (pvent, l{1,2,3}pt page, "normal"). 1998-05-19 00:20:21 +00:00
augustss
54281b8662 Avoid spaces in tsleep() string. 1998-05-18 18:27:43 +00:00
kleink
3e08a4a027 Spell `interrupt' correctly. 1998-05-18 17:37:38 +00:00
cgd
9991233636 add an #if 0'd chunk which will pci_conf_print() every device (spews
lots of data, e.g. ~18k on a PCI system with few add-in devices; use
with MSGBUFSIZE=...).  Useful to have here so that people who want as
much data about the PCI configuration in a machine can get it without
having to craft their own code.  Also, clean up a few of the other
#if 0'd printfs.
1998-05-18 17:28:07 +00:00
cgd
4b0876c74b largely reimplement pci_conf_print():
* print all configuration space registers.  Then, where possible,
  interpret them.  (That is, PRESENT ALL THE DATA, then interpret it --
  don't hide data behind interpretation.  Also, when interpreting
  fields, try to print out the specific value that's being interpreted.)
* handle different header types.
* allow caller to specify a function which can interpret the
  device-dependent header and is responsible for pretty-printing it.

It spews (use 'options MSGBUFSIZE=...' 8-), but when you want the data,
you really want _all_ of it.

Still needs some cleanup and additional code (e.g. interepretation
of PCI-PCI (type 1) and PCI-Cardbus (type 2(?)) bridge headers).
1998-05-18 17:25:17 +00:00
cgd
27b21a3a47 add a PCI_HDRTYPE_TYPE() macro, to get the 'type' portion of the
headertype register (i.e., not including the 'multifunction' bit).
1998-05-18 17:17:04 +00:00
cgd
2102dd3e20 check that memory access is enabled before bothering to do the
pci_mapreg_info() call.  pci_mapreg_map() implies this check,
but code which calls pci_mapreg_info() has to check it explicitly.
Otherwise, if memory space is disabled, the driver does the wrong
thing, and tries to use memory space anyway, potentially resulting
incorrect driver operation and no useful error message.
1998-05-18 17:14:32 +00:00
matt
f070ddb8ed Move the ppcb pointer towards the front of the structure so that it and the
pcb chain pointers can possibly be in the same cache line.
1998-05-18 17:10:37 +00:00
matt
1b2b1d801b Fix two bugs. 1998-05-18 17:08:56 +00:00
fvdl
8ccdc78ffc Since the interlock has been unlocked, also clear LK_INTERLOCK from
a_flags in order to not confuse the layer that is called through
the following VCALL.
1998-05-18 16:47:37 +00:00
pk
df238837b0 No dummy locks if LOCKDEBUG. 1998-05-18 15:00:50 +00:00
pk
d0e85dde99 Inline vref/vrele in vclean() because:
* we already have the vnode interlock, so vref() should not ask for it again.
* we call VOP_RECLAIM/VOP_INACTIVE(), which shouldn't be duplicated in vrele().
1998-05-18 14:59:49 +00:00
pk
097731676e dead_lock() must unlock `v_interlock'. 1998-05-18 14:36:46 +00:00
leo
199165fe0d Fix errors when compiling for M68030 only. (Witek Wnuk) 1998-05-18 12:06:46 +00:00
ragge
3ebb9bfd11 Not used anymore when now using the dz11 driver. 1998-05-17 19:02:03 +00:00
ragge
baec63333c Mod~ify for new changes to lance/dz drivers. 1998-05-17 19:00:56 +00:00
ragge
4c217a5bcb Change to use newly committed ln- and dz-drivers. 1998-05-17 18:58:07 +00:00
ragge
25d68ddcde Add vax-hacked lance device driver for vaxstations.
XXX - This is temporary; will go away when the troubles with the
MI driver is fixed.
1998-05-17 18:55:30 +00:00
ragge
4a469a9149 Split the DZ11 driver into two parts; can now use the same driver on
both unibus/qbus devices and vaxstations.
1998-05-17 18:51:13 +00:00
hpeyerl
96ee790741 Add the HP35470A DAT drive. 1998-05-17 17:09:55 +00:00
veego
82423e3d01 Resolve conflicts 1998-05-17 16:50:15 +00:00
kml
051be14326 Correct copyright date. 1998-05-17 16:46:06 +00:00
thorpej
ff4919623e Add missing RCS ID. 1998-05-16 00:49:45 +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
augustss
88edb37522 Be more verbose if attaching the audio device fails. 1998-05-15 15:45:58 +00:00
tsubai
02aa1f7050 Add macppc support. 1998-05-15 12:35:06 +00:00
lukem
880e27e0f9 actually, there's *four* types of queue data structures... 1998-05-15 12:22:24 +00:00
tsubai
2be6df07c6 Initial import of macppc port. 1998-05-15 10:15:45 +00:00