Commit Graph

33386 Commits

Author SHA1 Message Date
simonb db783e76e8 Use explicitly sized types for entities that exist on disk.
Use alpha-like defines for boot block offset on disk and boot block size.
1999-11-27 01:51:20 +00:00
simonb b83882f7c7 Use new pmax stand structure for multi-filesystem bootblocks. All
entries are commented out for now until everything else is updated.
1999-11-27 01:45:46 +00:00
simonb 69e1252d6a Oops, px* won't work right now - go back to px0. 1999-11-27 01:31:47 +00:00
simonb 0b1eae6c7a * all device attachments, after discussion with Jason Thorpe and Toru
Nishimura.
1999-11-27 01:19:31 +00:00
soren 6f6045c97d Regen. 1999-11-27 01:03:33 +00:00
soren 8c5ab0744f IBM cards update. 1999-11-27 01:03:18 +00:00
mycroft 1d9d2c47c5 In pmap_emulate_reference(), always or in the bits. I know the code is trying
to be clever, but...
Also, a slight optimization for the write case.
1999-11-27 00:25:15 +00:00
mycroft f26df92bed Fix bugs in pmap_protect() that were responsible for the `ld.elf_so lossage'.
* We could overrun the eva by as much as L1SEG_SIZE-PAGE_SIZE.
* sva was advanced *twice* for each valid l3 or l2 page, causing it to get out
  of sync with the PTE pointers.
1999-11-26 23:04:33 +00:00
fvdl 2aea14c604 Clear B_AGE in bdirty(), this buffer must go through the LRU again
to be back on the AGE queue. Otherwise we risk recycling a set
of buffers with (soft) dependencies on the AGE list, which may
last forever if the vnode they belong to is locked (i.e. the syncer
won't get to the buffers they depend on, so their dependencies
are never flushed).
1999-11-26 17:18:15 +00:00
soren 506836faa1 Regen. 1999-11-26 17:17:21 +00:00
soren 71f7530292 Add two 3Com modems. 1999-11-26 17:16:53 +00:00
bouyer 8f56b89950 More WDCDEBUG_PRINT. 1999-11-26 12:39:43 +00:00
augustss 97fc004770 Don't complain when umodemstartread() returns USBD_IN_PROGRESS. It's normal. 1999-11-26 09:12:50 +00:00
augustss d94a5b55fb Make timeout device exploration optional in debug mode. 1999-11-26 01:41:03 +00:00
augustss 77bb4d8ce2 Cosmetic change. 1999-11-26 01:40:01 +00:00
augustss aa32088c20 Cosmetic changes. 1999-11-26 01:39:27 +00:00
augustss 240991073c Generate an error message when attachment fails. 1999-11-26 01:38:40 +00:00
is 14d940c179 Jens, not Joerg 1999-11-25 22:11:03 +00:00
is 5a05d40012 Address range scaling is hidden by the bus_space functions. Correct the
definitions in case we ever do bus_space accounting on Amiga.
1999-11-25 21:58:57 +00:00
is 366a09427a Add a few boards we know about.
This should really be table-driven and optional.
1999-11-25 21:57:45 +00:00
is 57ac5a3ea7 Another RTL8019 board: X-serve by Individual Computers Jens Schoenfeld. 1999-11-25 21:53:01 +00:00
is df61f0409e From the 68040 User Manual, page 4-10:
"To fully support self-modifying code in any situation, it is imperative that
a CPUSHA intrcution is executed before the execution of the first self-modified
instruction. The CPUSHA instruction has the effect of ensuring that there is
no stale data iin memory, the pipeline is flushed, and instruction prefetches
are repeated and taken from external memory."

I verified that this is the only way (I can think of) to make the sigtramp
regression test work on 68040. doing cpushl dc; cinvl ic; over the affected
address range, then nop (to synchronize the pipeline) is not enough; apparently
the nop does not FLUSH the pipeline and prefetch...

Note that the 68060 UM has copied the above cited passage, but in fact this is
not true. This might be connected to the fact that the 68060 does ensure
memory access order under most conditions.
1999-11-25 20:30:38 +00:00
ad 6783a346b9 Fix date in copyright string. 1999-11-25 16:40:19 +00:00
pk 249aa2e089 Target `machine' symlink explicitly at the sparc64 headers. 1999-11-25 14:46:08 +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 b797a06151 Make symlink to appropriate header directory and have cpp use it. 1999-11-25 13:25:09 +00:00
mrg dcba4f5e10 use a portable invocation for cc -E 1999-11-25 06:06:03 +00:00
mrg ca66e6b619 - pass slot number to sbus_get_intr() as a new argument.
- in sbus_get_intr(), if we are not an onboard device (ie, sbus card),
  encode the slot number into the sbi_pri so that we can later extract
  it and use it to find the interrupt map & clear registers for this
  device.
- remove "intr" support as it is really pre-sun4u only.
- don't "pause" for so long in sbus interrupt debug messages..

with the slot number being passed back from sbus_get_intr(), the FS/BE
card in an ultra2 now appears to get interrupts and gets beyond
waiting for the scsibus probe!
1999-11-25 05:03:53 +00:00
nisimura 36e75e7449 Some fix on comment descriptions. 1999-11-25 02:53:46 +00:00
nisimura 94b897d4bf Reorder device descriptions to reflect what kernel shows on screen,
mostly in address ascending order.
1999-11-25 02:48:12 +00:00
simonb 353ca54019 Move memory sizing to a new function memsize_scan(), and add an empty
stub for memsize_bitmap() to use the PROM bitmap for memory information.
Add a memsize function pointer to the platform structure, and make all
existing DECstation models use memsize_scan() for now.

Interestingly, from the Ultrix cpuconf.{c,h} only the 3100 and 5400 use
a memory scan to determine available memory - all other models use the
PROM bitmap...
1999-11-25 01:40:22 +00:00
augustss 961d4d6ad2 Change CS4297 id entry. 1999-11-24 23:21:01 +00:00
augustss df60fd6eac Regen. 1999-11-24 23:18:07 +00:00
augustss ae1dcc2dc0 Comment out some entries for Entrega serial adapters. These entries
are only relevant before firmware download.
1999-11-24 23:17:27 +00:00
augustss c156651eb9 Avoid the special when disconnecting devices with no config descriptor.
It was wrong.
1999-11-24 23:14:39 +00:00
augustss bb2a9b3008 Add some more debug printing. 1999-11-24 23:13:19 +00:00
scottr 2454426afe Take a cue from the i386 port: Enable DHCP by default, rather than
BOOTP.
1999-11-24 22:01:19 +00:00
drochner cfabac64f5 fix vm_page initialization for the case where kernel+symbols+tables
exceed 16M
1999-11-24 18:32:50 +00:00
drochner b1f2453dee add a diagnostic panic to catch illegal memory ranges passed to
uvm_page_physload()
1999-11-24 18:28:49 +00:00
simonb 93d33f5806 Wildcard 3max {asc,le}0 at tc attachment. 1999-11-24 02:25:37 +00:00
thorpej 635d546dd9 Specify the locators for everything. 1999-11-24 02:10:47 +00:00
thorpej 4d7bdecfce My 3MAX's config file. 1999-11-24 02:05:40 +00:00
thorpej 7fa174a09e Specify all the locators for the various devices. 1999-11-24 02:05:12 +00:00
mrg d4cf67e2d2 s/CEXTRAFLAG/CEXTRAFLAGS/ so it works. 1999-11-24 01:54:34 +00:00
mrg abc579187f prefix a variable with "pci_" 1999-11-24 01:53:38 +00:00
simonb 05715b1dbd Attach asc0 and le0 at tc 5 and 6 respectively - 5000/200 now works again.
XXX: Should the turbochannel slot numbers be wildcarded or hardcoded?
     It's not as if they can appear anywhere else...
1999-11-24 01:52:06 +00:00
simonb 6a03465ac4 Don't check for additional dc instances yet. 1999-11-24 01:43:38 +00:00
thorpej 11ea81b1c2 Delete now-unreferenced files. 1999-11-24 01:18:13 +00:00
simonb d6a69159ca Fix tyop in comment. 1999-11-24 00:18:37 +00:00
thorpej 298f4b27f4 Make separate device lists for the 3100 and 5100, and add a way to probe
for optional `dc' devices on the 5100.
1999-11-24 00:04:06 +00:00
fvdl d901f6eae0 Be more careful to block bio interrupts for some data structures. There
were at least a few missed cases where vp->v_{clean,dirty}blkhd were
unprotected since the softdep/trickle sync merge.
1999-11-23 23:52:40 +00:00
augustss 881d3f4735 A little cosmetic. 1999-11-23 20:36:10 +00:00
thorpej 98e19f8e0e Add an `addr' locator to the `ibus' bus. This allows you to wire down
unti numbers on systems which have e.g. multiple `dc' devices on the
internal bus (like the 5100).
1999-11-23 20:07:34 +00:00
leo 761038f279 Correct the test for a free-slot for isa_intr_alloc(). Also issue a warning
that should make it clear in which slot the card is expected to be in.
Isapnp is not what it seems to be on the atari (where interrupts are
hardwired to slot numbers).
1999-11-23 14:48:58 +00:00
minoura c48182e1ae Add missing `major' entries: md and fd. 1999-11-23 14:17:09 +00:00
simonb a09d3191a0 Remove leading '/' from pathnames, using same logic as ufs.c. Allows new
style (but not yet committed) pmax bootblocks to open "/boot.pmax" on an
ISO image.  Same problem reported for NFS by Jason Thorpe.
1999-11-23 12:20:53 +00:00
augustss 2e175b3f88 Avoid 0 blocksize. 1999-11-23 08:38:30 +00:00
shin 6378e492c1 RAMDISK = GENERIC + md 1999-11-23 05:08:25 +00:00
scottr d617933e27 Round out our options with 4bpp framebuffer support, conditional
on RCONS_4BPP.
1999-11-23 01:52:52 +00:00
wrstuden e9c570ec77 Now make an ofwboot.xcf, and XCOFF version of ofwboot. Uses the new
fix-coff program.
1999-11-23 01:35:37 +00:00
wrstuden cd6e26a395 Add fixcoff, a program to be used during a build to help make xcoff'
binaries from elf ones.
1999-11-23 01:32:37 +00:00
augustss 17971be39a Don't used extern on uhcidebug and ohidebug variables. 1999-11-22 21:57:09 +00:00
jdolecek e55cd100f8 minor stylistic change 1999-11-22 19:15:12 +00:00
jdolecek 5d1658a740 don't prototype Debugger() here, including <sys/sytm.h> is enough 1999-11-22 19:05:32 +00:00
jdolecek 5b50e62cbb don't prototype Debugger() here, i't done in <sys/systm.h> 1999-11-22 19:01:50 +00:00
jdolecek b9d5c93b1c Debugger() --> cpu_Debugger(), include <sys/sytm.h> for it's prototype
remove obsolete comment
1999-11-22 19:00:57 +00:00
jdolecek 9986dd3f7d Debugger()/cpu_Debugger() is always available and always defined/prototyped
in <sys/systm.h> for sun3/sun3x, even in non-DDB case
1999-11-22 18:34:00 +00:00
jdolecek aca868ca69 previous is true even for sun3x 1999-11-22 18:05:41 +00:00
jdolecek a0d86c452f sun3 has cpu_Debugger() and hence Debugger() available even in non-DDB case 1999-11-22 16:53:59 +00:00
tsubai 1acee6a50f Remove D-I cache synchronization code in setregs(). MI part has it now. 1999-11-22 13:31:44 +00:00
tsubai 668b553d53 Need opt_compat_netbsd.h. 1999-11-22 13:26:59 +00:00
tron 82d9324e38 Remove duplicate IPv6 options. 1999-11-22 08:14:05 +00:00
itojun 0cea637239 merge SHARK.v6 into SHARK. 1999-11-22 05:17:33 +00:00
sommerfeld 17d170b1ca defopt COM_DEBUG, COM_HAYESP, and COM16650 1999-11-22 03:53:38 +00:00
shin 1cf30597ea forgot to change 'VRKIU_LAYOUT' to 'PCKBD_LAYOUT'. 1999-11-22 02:14:30 +00:00
shin 49ead2a4a7 add RCS Id.
add copyright & license notice.
1999-11-22 02:11:09 +00:00
itohy 3e16beaf22 Add a bunch of "__attribute__((__packed__))"s
to get along with the ELF compiler.
1999-11-22 01:14:55 +00:00
perseant bb2093f24a Initialize i_ffs_effnlink, so every file doesn't look like it's already been
deleted for the purpose of dirops (particularly create and mkdir).  Addresses
PR#8815.
1999-11-21 19:25:31 +00:00
is 58f7417063 Call the machine dependent code to do d-cache/i-cache synchronization, for
architectures that need it. Without this, at least on Motorola 68040 and 68060
machines, the sigtramp regression test fails.
1999-11-21 17:04:05 +00:00
pk 633fd1e1cc Check presence of Sbus interrupt properties before using them. 1999-11-21 15:23:01 +00:00
pk d5a471ccc9 Check presence of Sbus interrupt properties before using them.
Only one case is known to trigger this omission: a Sparc Classic
configured as X terminal.
1999-11-21 15:01:50 +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
shin 312ac4e1e1 add scan code mapping for
IBM WorkPad z50
	NEC MobilePro 770, 800
	Sharp Tripad PV6000 / Vadem Clio
	NEC MC-CS series
	Fujitsu Intertop CX300

change keyboard layout according to model(default).
add options PCKBD_LAYOUT to override default.
1999-11-21 12:53:57 +00:00
shin a16b5d0ff6 Regen. 1999-11-21 12:49:07 +00:00
shin 26fe8d79e2 regen. 1999-11-21 12:48:44 +00:00
shin 85bb334fd0 add IBM WorkPad z50 1999-11-21 12:48:25 +00:00
shin 69af3df31f add MCCS comctrl (GPIO 14)
add IBM WorkPad z50
1999-11-21 12:47:33 +00:00
shin 40fbdc840c add wscons to compile 1999-11-21 12:46:51 +00:00
pk d92a868bcf Avoid unused symbol warnings when not using DDB. 1999-11-21 11:47:51 +00:00
pk a4e956ce77 Also pull in <pci/pciidereg.h>. 1999-11-21 11:17:35 +00:00
takemura cad52c9e08 Add a entry for Mobile Dock 2, which is 2.5" HDD adapter. 1999-11-21 10:13:08 +00:00
takemura 3abbbd219e Add entries for Mobile Pro 770(MC-R520A) and Mobile Pro 800(MC-R700A). 1999-11-21 07:58:49 +00:00
uch 4c747fe97d TX3912/3922 support 1999-11-21 07:04:31 +00:00
uch fe6ca23b78 add new function vr_fb_init, vr_mem_init. 1999-11-21 07:01:54 +00:00
uch 5bd99e89d8 add fb_init, mem_init member to struct platform. 1999-11-21 06:59:41 +00:00
uch 0816e8d336 when frame buffer address is not specified, don't try to access. 1999-11-21 06:53:21 +00:00
uch 9a758aab34 PLUM2(TC6358TB) TX3922 companion chip 1999-11-21 06:50:26 +00:00
uch a8b695c150 ITE IT8368E PCMCIA controller 1999-11-21 06:48:58 +00:00
uch 480704756f Compaq C-series keyboard driver 1999-11-21 06:48:02 +00:00
uch 6326e09f77 PLUM2-ISA bridge 1999-11-21 06:46:02 +00:00
eeh 2277dc3475 Move KERNBASE down from 0xf8000000 to 0xf1000000, just beyond the PROM. 1999-11-21 00:17:18 +00:00
uch 1760a4ef69 Toshiba TX3912/3922 internal modules. 1999-11-20 19:56:31 +00:00
uch 1b4b351fab allow to handle > 512MByte physical address 1999-11-20 19:44:30 +00:00
uch 041804dc8e Add base offset to rend 1999-11-20 19:40:58 +00:00
jtk a65648a323 regen 1999-11-20 18:32:31 +00:00
jtk 35b90fb812 add Xircom CE3 10/100 Ethernet 1999-11-20 18:32:08 +00:00
eeh 9b628a6223 Add handler for T_FLUSHWIN trap in case old code makes use of it. 1999-11-20 18:12:00 +00:00
eeh 97b34de711 Limit buffers to 1/4 of the kernel address space. 1999-11-20 18:10:44 +00:00
eeh 18fefbe895 Add softdep option. 1999-11-20 18:09:52 +00:00
eeh 6daa33d3fe Install NetBSD/sparc64 headers on NetBSD/sparc systems. 1999-11-20 16:35:24 +00:00
jun 62d5d129d5 - merge CATS.v6 to CATS
- add UCONSOLE
- remove XSERVER (it only uses in shark/pccons.c?)
1999-11-20 07:28:35 +00:00
jun c58149afb8 merge GENERIC.v6 to GENERIC 1999-11-20 07:18:59 +00:00
nisimura 40f7514028 Introduce wscons vsxxx mice (and possible tablet) routines; changes
of existing codes (lk201_ws.c, zskbd.c, and zsms.c) will follow.
1999-11-20 04:55:30 +00:00
augustss f73590bbf0 Print the PnP id of unknown codecs. 1999-11-20 01:16:15 +00:00
augustss 14896709bf Join two lines in the attach message. 1999-11-20 01:15:25 +00:00
augustss 7b92ed07bd Propagate the USB revision number to the usb driver. 1999-11-20 00:57:08 +00:00
thorpej 046d593425 Add the `packed' attribute to structures which describe wire protocol data. 1999-11-20 00:37:58 +00:00
mrg d07a6cf8e4 pull across fix from dec_3000_500.c:
>split the "asc" and "tcds" searching into two separate sections and
>keep a "tcdsdev" of the booted tcds device.  make sure that the "asc"
>is the child of the tcds.  this fixes boot device detection on dec
>5000/400 (prolly 400-900) machines in the presense of a tcds option
>card, which would use the right tcds chip & disk scsiid of the last
>attached tcds -- which meant it would choose the wrong disk, or not
>find the boot device at all if the corresponding scsiid was unused in
>the last attached disk.
>
>XXX: this may need to be copied to dec_3000_300.c but i have no idea
>as i can not test this hardware at all...
>
>fixes PR#8771 by myself.
1999-11-20 00:01:14 +00:00
augustss 83c33f4fee Fix typo in comment. From Brad <brad@openbsd.org> 1999-11-19 23:50:21 +00:00
ragge 351a7de621 Get symbol "NETISR_IPV6". This fixes PR#8790, but in a different way. 1999-11-19 22:09:55 +00:00
ragge 7e650509f4 Include param.h instead of types.h, to get mem* macros on vax. 1999-11-19 22:07:12 +00:00
thorpej e1ed9178a1 Add the `packed' attribute to structures which describe wire protocol
data formats.
1999-11-19 20:41:19 +00:00
thorpej 7479d29f00 Make the ThunderLAN and VIA Rhine drivers use the common MII bit-bang module. 1999-11-19 18:27:18 +00:00
thorpej f1ba0d46a3 Regen. 1999-11-19 18:26:22 +00:00
thorpej 55495ae2e9 Add OUI for Enable Semiconductor. 1999-11-19 18:26:09 +00:00
thorpej 0c3eefb6a5 Add a basic CardBus front-end for the `tlp' driver. Still more work to do. 1999-11-19 18:23:35 +00:00
thorpej 9ed17102f4 - Use the common MII bit-bang module.
- Add support other than 128-byte SROMs.
- Add support for the 21142/21143 MII.
1999-11-19 18:22:42 +00:00
thorpej dc5a586c1c Use the common MII bit-bang module. 1999-11-19 18:17:14 +00:00
thorpej b5fd53184a Add the mii_bitbang attribute to the elink3 and tlp drivers. 1999-11-19 18:16:13 +00:00
joda d7496546b5 try to do a better job of figuring out the EEPROM size; the old code
didn't work on (some?) 557-based cards
1999-11-19 15:19:14 +00:00
bouyer a15ba40c30 Bump __NetBSD_Version__ to match osrelease.sh. Thanks Bernd :) 1999-11-19 13:32:39 +00:00
bouyer 89e847a90f kernel interface changed, bup version number (what will come after
1.4Z ? :)
1999-11-19 13:05:06 +00:00
mrg 9f1959ab2b split the "asc" and "tcds" searching into two separate sections and
keep a "tcdsdev" of the booted tcds device.  make sure that the "asc"
is the child of the tcds.  this fixes boot device detection on dec
5000/400 (prolly 400-900) machines in the presense of a tcds option
card, which would use the right tcds chip & disk scsiid of the last
attached tcds -- which meant it would choose the wrong disk, or not
find the boot device at all if the corresponding scsiid was unused in
the last attached disk.

XXX: this may need to be copied to dec_3000_300.c but i have no idea
as i can not test this hardware at all...

fixes PR#8771 by myself.
1999-11-19 10:49:46 +00:00
bouyer 3a220103e8 Adapt printf format for 64bit stats counters. 1999-11-19 10:42:48 +00:00
bouyer f86517a031 Update protocoles and interfaces stats counters to 64bit.
RTM_IFINFO is now 0xf, 0xe is RTM_OIFINFO which returns the old (if_msghdr14)
struct with 32bit counters (binary compat, conditioned on COMPAT_14).
Same for sysctl: node 3 is renamed NET_RT_OIFLIST, NET_RT_IFLIST is now node 4.
Change rt_msg1() to add an mbuf to the mbuf chain instead of just panic()
when the message is larger than MHLEN.
1999-11-19 10:41:41 +00:00
jun c090b6a417 add comments
XSERVER
	INSECURE
	SOFTDEP
1999-11-19 06:25:11 +00:00
matt b7af02bb1b defopt SOFTDEP 1999-11-19 05:49:53 +00:00
simonb 95d4e16c43 Remove function declarations already declared in ibusvar.h and
fix typo in dec_3100_intr_*() declarations.
1999-11-19 04:34:01 +00:00
itohy 7be83cbb7c Oops, I misspelt a macro name. 1999-11-19 03:54:08 +00:00
nisimura dad420bf58 Move declarations of 3100/5100 ibus interrupt establishment routines
to ibusvar.h
1999-11-19 03:15:28 +00:00
simonb 682b4e3665 Include SCSI version of disk in device display. 1999-11-19 03:14:22 +00:00
simonb af2a80f51c Show the SCSI version of the tape drive. Also, when printing out info
about the tape drive, only use one ``printf("\n");'' at the end rather
than having lots of \n's.
1999-11-19 03:04:39 +00:00
matt 1d740db7d2 Not all platform have devices which need isadma. Make the isa_dmainit
call conditional.
1999-11-19 02:40:25 +00:00
simonb 9dacfe6b24 Don't need extern with function declaration. 1999-11-19 02:35:40 +00:00
simonb 1dd2a74d0a Only all the kbd/mouse init functions if NRASTERCONSOLE > 0. 1999-11-19 02:17:01 +00:00
simonb 88673ee539 Only call tcfb_cnattach() if NRASTERCONSOLE > 0. 1999-11-19 02:16:06 +00:00
simonb 253ea37824 Include "opt_dec_{3,5}100.h" so we know what models are
configured.  Also fix prototypes for dec_3100_intr_establish()
and dec_3100_intr_disestablish().
1999-11-19 02:11:47 +00:00
nisimura adf0157d64 Fix system type case analysis error; pointed by John.P.Darrow@wheaton.edu. 1999-11-19 01:28:08 +00:00
lonhyn 090c4d2e66 Program to convert back and forth between PPM and CHRP boot icon images. 1999-11-19 00:43:20 +00:00
augustss 3386c68b46 Cosmetic changes and some small improvements. From FreeBSD and Nick Hibma. 1999-11-18 23:32:25 +00:00