kenh
1461c4fb20
__wdccommand_done() needs to call wdcstart(), otherwise you can run
...
into deadlocks when using wdc_exec_command().
1998-11-19 04:07:54 +00:00
thorpej
fd684d874c
Protect against multiple inclusion.
1998-11-19 03:45:39 +00:00
ross
3f24fce866
More include shuffling.
1998-11-19 02:53:47 +00:00
ross
b0f44850f5
Don't insist on an FFS if we are in contiguous block (-b) mode.
1998-11-19 02:44:40 +00:00
ross
d963824bdc
#include <machine/intrcnt.h>
1998-11-19 02:35:39 +00:00
ross
bc9cb58205
Fix interrupt map for baseboard bridge.
1998-11-19 02:33:37 +00:00
ross
47c613e7dd
#include <machine/alpha.h>
1998-11-19 02:29:49 +00:00
ross
4ea2865631
+#include <machine/alpha.h>
...
+#include <machine/intrcnt.h>
Also, this module gets the junk I/O IDE channel frobber that used to
be in dec_axppci_33.c, so it can be called for the eb64plus also.
1998-11-19 02:28:56 +00:00
ross
372977cf54
Nuke the final holdout of INTRNAMES_DEFINITION.
...
Do a nice gas.new .rept/.endr loop and also pad each string with spaces
in case a platform actually does want to rewrite the names.
G/C some EVCNT_COUNTERS stuff.
1998-11-19 02:27:29 +00:00
ross
b9fa3646cb
#include <machine/intrcnt.h>
...
#include <machine/alpha.h>
g/c some EVCNT_COUNTERS stuff.
1998-11-19 02:23:15 +00:00
ross
c6c1b0098f
#include <machine/alpha.h>
1998-11-19 02:22:01 +00:00
ross
ee226b43f1
Include <machine/alpha.h> and do not directly include <bus.h>
1998-11-19 02:20:07 +00:00
ross
7221bd8229
+#include <machine/alpha.h>
...
-#include <machine/bus.h> (done for you by alpha.h)
Take the junk I/O chip IDE channel frobber and move it to machdep.c.
1998-11-19 02:05:07 +00:00
ross
d3509bcc51
Clarify the 1000/1000A situation: two variation tables and an all-purpose
...
backup platform.family string.
1998-11-19 02:02:45 +00:00
ross
9b7ad6c70c
#include <machine/alpha.h>
1998-11-19 01:59:39 +00:00
ross
8470625657
New module to hold the alpha-specific prototypes that don't need to be
...
exported to the MI kernel. Almost everything here was formerly in cpu.h.
Optionally, this module could in the future be used to #include anything
that is always needed by arch/alpha modules.
1998-11-19 01:57:56 +00:00
ross
19a4c3110c
Rip out 70 lines of (all of) the port-alpha-specific decls and prototypes.
...
They should not be visible to the MI kernel and the MI kernel shouldn't
depend on this junk. Most of it moves to new module <machine/alpha.h>.
Leave badaddr() here, though, because it's used so widely.
1998-11-19 01:51:40 +00:00
ross
e2e3ee52ae
Nuke the giant ugly-as-sin per-platform INTRNAMES masterpiece.
...
I just cannot add one more platform without getting sick.
Instead, we do just one table for all platforms. More-or-less,
it was only the A12 that even named it's individual interrupts anyway.
Also, prototype set_iointr() here. It's a slightly odd place, but 10*
better than the old place it was, and this file is included by exactly
the perfect set of .c files for set_iointr() visibility.
1998-11-19 01:48:04 +00:00
ross
a68dbb068a
Stop including <machine/alpha_cpu.h>; we already export <machine/cpu.h>.
1998-11-19 01:42:37 +00:00
ross
da8b1017f4
"extern struct rpb *hwrpb" belongs here (duhhh)
1998-11-19 01:41:36 +00:00
thorpej
4e8bf2fa99
Make the attachment messages a little prettier:
...
com3 at pcmcia1 function 0 port 0x2e8-0x2ef: serial device
com3: ns16550a, working fifo
I.e. don't wrap the line.
1998-11-19 00:04:02 +00:00
thorpej
ac7560ad4a
Add support for hot-swapping PCMCIA serial devices.
1998-11-19 00:01:30 +00:00
thorpej
3e086bd63d
Add support for detaching "com" instances.
1998-11-18 23:58:52 +00:00
thorpej
eb8f1afb3e
Implement vdevgone(), to revoke all vnodes corresponding to the specified
...
type, major, (low minor...high minor).
1998-11-18 20:24:59 +00:00
kenh
58932a8415
Quirk out the first test in the beginning of wdcprobe(); the Vaio
...
CD-ROM drive doesn't like it for some reason.
1998-11-18 19:12:08 +00:00
thorpej
f50fecdeaf
Oops, fix uninitialzed variable in last.
1998-11-18 18:40:54 +00:00
thorpej
587f931901
Be a bit more precise about how we allow no deactivation support in
...
config_detach().
1998-11-18 18:40:08 +00:00
thorpej
3579ddab03
If the ca_activate entry point fails, make sure to restore the old
...
dv_flags.
1998-11-18 18:38:07 +00:00
thorpej
1d0f24882d
Now that the *_activate() functions don't do things which are attachment
...
specific, move them into the chipset drivers.
1998-11-18 18:34:52 +00:00
thorpej
257d3e31ae
Move the i/o window unmap and i/o space free into *_detach().
1998-11-18 18:15:56 +00:00
kenh
7faa4da4bc
Don't protect this with #ifdef _KERNEL
1998-11-18 16:32:29 +00:00
oster
b66ca92f4a
Initialize (to NULL) a variable in rf_CvscanPromote().
1998-11-18 15:13:51 +00:00
nisimura
4184d87669
- Fix cursor image handling bugs escaped in last commit.
1998-11-18 12:26:31 +00:00
pk
dee948f2d9
Increase the delay after touching the IOMMU control register by another
...
three no-ops (empirically verified by Robert Elz).
1998-11-18 12:07:47 +00:00
itohy
d8f63f8a88
Get pmap_extract() return value with paddr_t, not vaddr_t.
...
Some other minor changes stolen from hp300. :)
1998-11-18 10:05:35 +00:00
tsubai
099f099133
Don't send mouse events to wsmouse layer if wsmouse isn't configured.
1998-11-18 09:11:34 +00:00
sakamoto
d8d1762a15
Support frame buffer console initialized by the BootRom of the BeBox.
1998-11-18 09:05:18 +00:00
ross
19599f6e86
Various trivial LP64 tweaks to squelch some compiler warnings.
1998-11-18 03:09:20 +00:00
jonathan
fe83804dea
Add md (memory disk) hooks for pmax. ecoff kernel with 2MB ramdisk
...
tftp-boots on new PROMs. (3MB is too large).
1998-11-17 22:41:05 +00:00
thorpej
4d216414cf
Bump version to 1.3I (config_detach(), config_{,de}activate()).
1998-11-17 21:27:27 +00:00
thorpej
d088902264
Add detach and activate entry points. Mostly functional except for
...
#ifdef notyet'd if_delref() and if_detach(), which will be fixed up
when that code is committed.
1998-11-17 20:44:02 +00:00
thorpej
dd6750820c
Expose the "enable" and "disable" functions so that the front-ends can
...
access them.
1998-11-17 20:25:00 +00:00
mycroft
cb703f0332
If a channel has no drives, do *not* unmap its I/O regions.
...
It's not really safe to use them for anything else, and in legacy mode it
will just cause us to probe the channel again as an ISA device.
1998-11-17 17:59:14 +00:00
bouyer
0af9847a2d
The ATAPI-specific hack is not needed any more.
1998-11-17 14:46:26 +00:00
bouyer
0d0ff884e5
In atapi_wdc.c, issue a 'REQUEST SENSE' command when appropriate.
...
Return XS_SENSE when the full sense info has been retrieved, or
XS_SHORTSENSE if only the sense key was available (from the error register)
Make atapi_interpret_sense() deal with this, and call scsipi_interpret_sense()
for XS_SENSE. (XXX sd_interpret_sense() and the ioctl code needs to be made
aware of XS_SHORTSENSE too ! sense hanlding for these is now less broken for
devices that support 'REQUEST SENSE')
All the ATAPI devices I have access to seems to honnor the SENSE_REQUEST
command, but I suspect some ATAPI devices will not (althouh it's mandatory).
The code should be able to deal with this, but is untested ...
1998-11-17 14:45:39 +00:00
bouyer
00d93f776b
Rename scsi_interpret_sense() to scsipi_interpret_sense() and move it from
...
scsi_base.c to scsipi_base.c. Rename the functions from scsi_verbose.c
too, and rename the file itself. Cleaup includes too (scsi_*.h should not
be #included in scsipi_*.h files, which are supposed to be
common to atapi and scsi).
1998-11-17 14:38:42 +00:00
bouyer
b64b7c2964
New IDE xfer flag: C_SENSE, set by the ATAPI back-end sense info needs to
...
be retrieved.
1998-11-17 14:14:52 +00:00
mrg
e9b43366f3
add some shiny happy egcs braces
1998-11-17 12:11:27 +00:00
thorpej
0c3ca7b31e
Finish implementing interrupt-driven card insertion and removal support.
...
- Deactivate the card on removal and queue a REMOVAL event for the socket's
event thread to finish the detach.
- Queue an INSERTION event for the socket's event thread on insertion.
Implement a few missing infrastructure pieces to support this.
Hot swapping of PCMCIA cards now "works". (Not quite; things like network
devices need changes for their respestive subsystems. These changes are
coming soon...)
1998-11-17 08:49:11 +00:00
thorpej
ab1b371163
Implement config_detach(), mostly from Chris Demetriou, modified slightly
...
by Ken Hornstein and myself.
Add flags to struct device, and define one as "active". Devices are
initially active from config_attach(). Their active state may be changed
via config_activate() and config_deactivate().
These new functions assume that the device being manipulated will recursively
perform the action on its children.
Together, config_deactivate() and config_detach() may be used to implement
interrupt-driven device detachment. config_deactivate() will take care of
things that need to be performed at interrupt time, and config_detach()
(which must run in a valid thread context) finishes the job, which may
block.
1998-11-17 08:38:07 +00:00
mrg
de6cfc033a
don't need our own lkmenodev anymore...
1998-11-17 01:46:10 +00:00
mrg
84905a4350
provide lkmenodev prototype for LKM || _LKM
1998-11-17 01:41:06 +00:00
thorpej
fc44652721
Implement a kernel thread per PCMCIA socket to handle card insertion and
...
removal events.
1998-11-16 22:41:01 +00:00
thorpej
fade033791
Print out which IRQ is being used for which slot, when the interrupts
...
are established.
1998-11-16 22:35:18 +00:00
thorpej
d2afdb5b59
Fix some whitespace lossage, canonicalize some media names.
1998-11-16 19:13:31 +00:00
oster
cf5710c839
Added a (commented out) configuration line for the RAIDframe device driver.
1998-11-16 16:44:55 +00:00
tsubai
b3e8f6e5fe
Enable UVM by default.
1998-11-16 12:21:30 +00:00
bouyer
d74652866f
For ATAPI IDENTiFY, poll only for DRQ, some devices don't assert DRDY at this
...
point.
1998-11-16 11:25:41 +00:00
itohy
59bed57519
Oops, I should have been more careful about the last modification....
...
Since D-Link DE-650 is not the only exception, restore Linksys EC1 entry to the
previous position and move D-Link entry below that to make the source cleaner.
1998-11-16 08:17:01 +00:00
marc
c48ce4626f
Avoid irq 5 and 7, the most likely cause of problems on modern laptops.
1998-11-16 07:23:28 +00:00
eeh
a178ed6add
Fixup the last broken bits of the signal handling code.
1998-11-16 06:51:35 +00:00
lukem
0cd1643609
if INADDR_ANY is given in in_pcbconnect(), choose the ia_addr of the first
...
interface, not the ia_broadaddr. should fix [standards/5645] and [kern/6425]
1998-11-16 05:47:19 +00:00
dbj
a712d8ae87
Moved UVM define from GENERIC to std.next68k
...
Added -Wno-main to warnflags, if compiler supports it.
1998-11-16 04:37:56 +00:00
mrg
ae0c22f1b1
move vax "options UVM" from GENERIC to std.vax
1998-11-16 04:32:56 +00:00
mycroft
7eac22153a
Use types.h, endian.h and limits.h to configure the RAIDframe
...
types correctly for all hardware platforms.
1998-11-16 04:14:10 +00:00
mycroft
09093330b1
Add {LONG,WORD}_BIT and {DBL,FLT}_{DIG,MAX,MIN}.
1998-11-16 04:12:29 +00:00
jonathan
a3a77d9561
Add skeleton code to defer rcons console output to soft-interrupt time.
...
ifdef'ed out for now.
1998-11-16 00:10:39 +00:00
perry
0c20c72cf9
(mostly) fix kernel tags support. from Frederick Bruckman in pr-6445.
1998-11-15 20:36:30 +00:00
tsubai
dd918881b6
Restrict the length of return value within buflen.
1998-11-15 19:53:25 +00:00
tsubai
7c939afccf
RTC support for pmu (read only).
1998-11-15 19:41:33 +00:00
thorpej
88bc4b9f8d
Conditionally include the 4.4BSD-Lite2 compat vfs sysctl code.
1998-11-15 18:38:11 +00:00
drochner
1658ac64a8
fix the previous: "securelevel" in kernel only
1998-11-15 17:36:19 +00:00
drochner
ac9da044b8
fix misplaced parantheses (introduced in last commit), noticed by Sean
...
Doran and Wolfgang Helbig
1998-11-15 12:43:04 +00:00
jonathan
03b30a046d
* make scc_tty_init() callable when very cold: call scc_coldparam() directly.
...
Use scc_tty_init() in scc_consinit(). Declare scc_consinit() in sccvar.h.
* Remove last vestige of special-case console handling in sccparam() code.
* Call scc_consinit() from findcons scc_serial() console-setup.
Dont PROM for scc serial console at all.
1998-11-15 11:21:52 +00:00
jonathan
b6111d03f9
Add mainbus0 and cpu* lines to R4000 config.
1998-11-15 06:27:11 +00:00
jonathan
5ddadfcc95
Remove old model-specific config files.
1998-11-15 06:22:25 +00:00
mhitch
6317908feb
UVM is now the standard VM system on NetBSD/pmax.
1998-11-15 05:43:32 +00:00
chuck
281eb8b87a
remove bogus permission check in uvm_map_clean(). fixes mmap/msync
...
problem discussed/reported by jonathan and Andreas Wrede <andreas@planix.com>.
1998-11-15 04:38:19 +00:00
mhitch
549407b634
Change page modification emulation: don't fiddle with VM flags directly.
...
Track page modification status in the PV entry like the alpha, and let
pmap_is_modified() return current status back to the VM system. UVM now
works reliably.
Garbage collect the old pmap_attribute[] stuff.
1998-11-15 02:34:19 +00:00
hubertf
3f1c86b59e
compile with DEBUG=1
1998-11-15 00:01:24 +00:00
mhitch
f6adcd4690
Some CyberStorm MK I SCSI modules use the same product ID as the Fastlane.
...
Add a check for that product ID and not a Zorro III address.
1998-11-14 21:48:22 +00:00
drochner
047a7756d8
use mi register definitions
1998-11-14 16:31:34 +00:00
tls
da1c106b85
In 'highly secure' mode (securelevel >= 2), the filter lists may not be tampered with. It might be desirable to allow enabling of preset filter lists, but it seems too good a candidate for a denial-of-service attack, so we don't.
1998-11-14 07:42:37 +00:00
tls
6321478a33
At securelevel >=2, don't allow new mounts, only allow change from rw to ro.
1998-11-14 06:38:54 +00:00
dbj
87cb8573e1
Finished changes to use UVM on next68k.
...
Turn on UVM by default in GENERIC kernel.
1998-11-14 04:32:50 +00:00
briggs
0659054b8b
Make this compile _and_ link with DEBUG / ADB_DEBUG defined.
1998-11-14 03:20:47 +00:00
briggs
94125bb185
Allow this to compile with DEBUG defined.
1998-11-14 03:01:31 +00:00
thorpej
3e6164e173
Make a comment about what pcmcia_detach_card() should do.
1998-11-14 01:54:25 +00:00
thorpej
1d03badef0
Implement a way to queue kernel threads for creation after init,
...
pagedaemon, reaper, etc. Caller provides a callback function and
argument which will be called to create the threads.
1998-11-14 00:08:49 +00:00
is
be4fc8e1b9
Simplify program structure to save a few bytes.
1998-11-13 22:12:35 +00:00
thorpej
d23593a784
Make vfs_sysctl() work.
1998-11-13 20:15:32 +00:00
thorpej
a3574d12b6
Clean up the NFS sysctl variables.
1998-11-13 20:09:54 +00:00
thorpej
1eebbab4db
Some changes to make the vfs. sysctl toplevel work. Wow, we really need
...
a new sysctl interface.
1998-11-13 20:08:06 +00:00
thorpej
faf2211fef
{b,c}dev_decl(raid), like some other disk devices.
1998-11-13 20:04:11 +00:00
mycroft
1115f2e840
Er, NSIG is one *more* than the number of signals.
1998-11-13 17:23:52 +00:00
mycroft
d6ffecf67c
Oops; signal numbers are 1..NSIG, not 0..NSIG-1.
1998-11-13 17:12:54 +00:00
christos
9a95622add
cast _mcount args to u_long, to avoid lint warnings.
1998-11-13 13:50:52 +00:00
drochner
a0c0e7eff1
fix egcs warning
1998-11-13 13:47:56 +00:00
drochner
acdd660ace
fix callback type
1998-11-13 13:45:15 +00:00
christos
0da3503ec5
make sysctl newp argument const void * to avoid const castaway warnings in
...
many places in the source. Unfortunately I am not fixing right now the
second argument from u_int to size_t because it is going to break some
ports. In anycase, the sysctl interface will change shortly.
1998-11-13 12:07:51 +00:00
christos
f44085b9f0
cast lh of shift operator to unsigned to avoid lint "non portable" warnings.
1998-11-13 12:06:05 +00:00
christos
d9616f8756
cast args of ntohl() and htonl() to u_int32_t to avoid lint warnings.
1998-11-13 12:04:49 +00:00
simonb
a9c167b273
prototype un-prototyped functions
1998-11-13 11:51:55 +00:00
simonb
8e893eff9e
Add braces around 'if' to pacify egcs
1998-11-13 11:48:26 +00:00
lukem
cc41dfe747
simplify test in in_pcbbind() for setting wild=1; no need to check if
...
((so->so_proto->pr_flags & PR_CONNREQUIRED) == 0 ||
(so->so_options & SO_ACCEPTCONN) == 0)
since the latter is always true, so the former test in unnecessary.
from `TCP/IP Illustrated, Volume 2', W. Richard Stevens, p 730.
1998-11-13 10:50:10 +00:00
mycroft
5ab6a8555e
Fix one last bug in the multicast filter calculation.
...
sdr and vic work now, at least.
1998-11-13 09:37:46 +00:00
mycroft
56aafbe295
Remove bogus change that cause cpu_fork() to panic.
1998-11-13 09:19:26 +00:00
lukem
6ff594779a
oops - missing ","
1998-11-13 06:11:42 +00:00
oster
c74d32c5fc
Updating of bdev's and cdev's to support RAIDframe.
1998-11-13 04:47:03 +00:00
oster
38a3987b69
RAIDframe, version 1.1, from the Parallel Data Laboratory at
...
Carnegie Mellon University. Full RAID implementation, including
levels 0, 1, 4, 5, 6, parity logging, and a few other goodies.
Ported to NetBSD by Greg Oster.
1998-11-13 04:20:26 +00:00
thorpej
2f3f9379cf
Add a couple more file systems to mountcompatnames[] (even though they
...
didn't exist in 4.3BSD or NetBSD 0.9) and always put the table into
the kernel. It's going to be needed for VFS sysctls.
1998-11-13 04:12:35 +00:00
eeh
08af05f929
Fix 32-bit gcc scheduling problems.
1998-11-13 03:47:15 +00:00
thorpej
0e3a0a7f80
Once a fragmented IP packet has been reassembled, recompute the packet
...
length before passing it up the stack. From FreeBSD.
1998-11-13 03:24:22 +00:00
mhitch
7b16048c5a
Fix the Right-Shift on the LK501 keyboard in a different way. My previous
...
attempt results in the up and down arrows not repeating in the X server.
The keyboard division table is modified to place the Right-Shift keycode
into division 6 along with the Left-Shift and Control. A corresponding
change to the X server lk201 keyboard handler is also required.
1998-11-13 01:59:51 +00:00
thorpej
de234f5dda
Pseudo-device definition and files for RAIDframe, CMU PDL's RAID 0, 1, 4, 5,
...
6 implementation + simulator.
From Greg Oster <oster@netbsd.org>.
1998-11-13 01:16:19 +00:00
thorpej
17bfc42d6d
Add DTYPE_RAID.
1998-11-13 01:05:51 +00:00
thorpej
d272bb0024
Handle the case where ccdbuffer() fails due to memory shortage. Build
...
a fifo of component buffers, and free them if ccdbuffer() fails. Once
all component buffers are build, run through the fifo and fire off the
requests to the components.
1998-11-13 01:00:15 +00:00
thorpej
092c201932
Simplify calling of ccdbuffer() now that the mirroring code is nuked.
1998-11-13 00:35:57 +00:00
thorpej
ab27c3f89c
Return EINVAL if invalid flags are passed.
1998-11-13 00:31:02 +00:00
thorpej
00172c10d5
Nuke the mirroring code. RAIDframe is about to go in, and is a much
...
better mirroring solution.
The ccd driver will stay, even in the presence of RAIDframe, for applications
where just RAID-0 is needed (much smaller code footprint).
1998-11-13 00:26:19 +00:00
thorpej
b6ac7c9b6b
Must use PR_NOWAIT when allocating component buffers.
1998-11-12 22:39:57 +00:00
fvdl
fb1a849339
Use different names for the "nfscon" label to tsleep(), so that it can
...
be seen in which one a process is sleeping.
1998-11-12 22:31:02 +00:00
rvb
b148b1ea84
Oops, I didn't mean to let that last commit get out. Though
...
maybe Havard should look at the changes (to make INSTALL smaller)
and see if any are general/reasonable for everyone.
1998-11-12 21:51:02 +00:00
thorpej
05c4e40b41
defopt the APM options.
1998-11-12 21:32:16 +00:00
rvb
7f2a4a5331
Perry said I should ... enable pms0 for GENERIC
1998-11-12 21:12:34 +00:00
thorpej
1fcae7f1be
defopt FFS_EI
1998-11-12 19:51:10 +00:00
christos
e78e086623
change the id arg of ftok from char to int.
1998-11-12 16:15:45 +00:00
christos
551ff5c2a0
use one define per static array instead of defining all three with DKTYPENAMES
1998-11-12 15:52:21 +00:00
bouyer
56107b8e10
Force PCI_COMMAND_MASTER_ENABLE if DMA has been setup properly. The BIOS is
...
supposed to do it but who knows ...
1998-11-12 15:05:29 +00:00
drochner
a16b0cc7db
regen
1998-11-12 14:09:20 +00:00
drochner
0c0b302fba
-add an NE2000 clone, info from PR kern/6430
...
-add comment for PCNET/isapnp (ID is vendor specific)
1998-11-12 14:06:34 +00:00
ws
99d394c267
Typo
1998-11-12 14:00:06 +00:00
mycroft
8146c925da
If we get a TX interrupt with no packets buffered, ignore it. This can occur
...
if the chip is reset while transmitting.
XXX
This occurs at boot time because the SIOCADDMULTI always resets the interface
when adding the `all hosts groups' -- usually while the ARP packet is being
transmitted. All drivers should be fixed to not reset the interface when
changing the multicast filter, if possible.
1998-11-12 13:18:26 +00:00
mycroft
b8974fbf40
Fix yet another bogon in the multicast filter calculation.
1998-11-12 13:03:51 +00:00
thorpej
b29c33e2a0
Update for the new state of the world: pciide, wscons, and a slight
...
change in how PCI-Host bridges are matched.
1998-11-12 01:04:06 +00:00
tron
76a221aca5
Sync with "GENERIC".
1998-11-12 00:57:29 +00:00
thorpej
ad77ef01b4
Add kern/kern_kthread.c
1998-11-11 22:46:32 +00:00
thorpej
920a1ace5b
fork_kthread() -> kthread_create(). Set P_NOCLDWAIT on kernel threads,
...
which will cause any of their children to be reparented to init(8) (which
is already prepared to wait out orphaned processes).
1998-11-11 22:45:32 +00:00
thorpej
a0fac8a7bc
Move fork_kthread() to a new file, kern_kthread.c, and rename it to
...
kthread_create(). Implement kthread_exit() (causes a thrad to exit).
Set P_NOCLDWAIT on kernel threads, which will cause any of their children
to be reparented to init(8) (which is already prepared to wait out orphaned
processes).
1998-11-11 22:44:24 +00:00
thorpej
04dc9a8878
Remove some code accidentally readded when Christos implement P_NOCLDWAIT.
1998-11-11 22:37:13 +00:00
veego
17509cc037
Add the Ariadne II.
1998-11-11 22:28:32 +00:00
veego
1449b87b11
New driver for the Ariadne II.
1998-11-11 22:26:27 +00:00
is
6b1ed04840
Correct the calls (use AllocVec() and FreeVec()),
...
in case somebody ever needs free().
1998-11-11 21:43:18 +00:00
mjacob
c0782a3653
more printf cleanups
1998-11-11 21:40:38 +00:00
is
f02a3ccb3e
Switch off the cache later.
...
Apparently, this avoids a problem on DraCos with HyperCom boards.
1998-11-11 20:57:33 +00:00
bouyer
1e71e76d6c
- clearify the boot messages (features supported vs features used). Thanks to
...
Havard Eidnes for his complains about this :)
- fix some typo in comments
- hoppefully better detection of drives reporting bogus PIO modes.
1998-11-11 19:38:27 +00:00
rvb
b951d6c0cd
Lookup now passes up an extra flag. But old veni will
...
be ok; new veni will check /dev/cfs0 to make sure that a new
kernel is running.
Also, a bug in vc_nb_close iff CODA_SIGNAL's were seen has been
fixed.
1998-11-11 19:22:08 +00:00
ws
18f9174133
Some BIOSs insist on patching the Bios Parameter Block for some drives
...
(e.g. LS-120). Make room for this.
1998-11-11 16:46:38 +00:00
matt
3e6d4553d9
Make DHCP/BOOTP the default for VAX net booting
1998-11-11 15:49:02 +00:00
thorpej
cabecee13c
Changes to support fork_kthread():
...
- cpu_set_kpc() now takes void *arg third argument, passed to the
entry point.
- cpu_fork() allows parent to be non-curproc iff parent is proc0.
When forking non-curproc, assume its state has already been saved.
- Adjust various pieces of machine-dependent code to account of all of this.
1998-11-11 06:43:49 +00:00
thorpej
49c62c4336
Changes to support fork_kthread():
...
- cpu_set_kpc() now takes void *arg third argument, passed to the
entry point.
- cpu_fork() allows parent to be non-curproc iff parent is proc0.
When forking non-curproc, assume its state has already been saved.
- Adjust various pieces of machine-dependent code to account of all of this.
1998-11-11 06:41:23 +00:00
thorpej
6956a57584
Initial version of API for creating kernel threads (likely to change somewhat
...
in the future):
- New function, fork_kthread(), takes entry point, argument for entry point,
and comment for new proc. May be called by any context, will fork the
thread from proc0 (requires slight changes to cpu_fork()).
- cpu_set_kpc() now takes a third argument, a void *arg to pass to the
thread entry point. Thread entry point now takes void * instead of
struct proc *.
- Create the pagedaemon and reaper kernel threads using fork_kthread().
1998-11-11 06:34:43 +00:00
nisimura
8ed3c420dc
- Withdraw a duplicated file. This has never been a part of distribution.
1998-11-11 05:00:42 +00:00
eeh
f66c79c11e
Turn off debugging.
1998-11-11 02:04:23 +00:00
eeh
bef3f7ec18
FCode bootblock and friends.
1998-11-11 01:57:32 +00:00
dbj
277322402c
Sync'ed more files and routines with mvme port in prepartion for UVM.
...
Now use generic m68k cachops everywhere rather than defining them in locore.s
1998-11-10 22:45:44 +00:00
bouyer
5f9fa9aaaa
Add and enable the pciide driver.
1998-11-10 14:09:15 +00:00
scottr
610fe40379
Only allow access to physical RAM.
1998-11-10 07:29:59 +00:00
thorpej
1a5d2ce537
File is obsolete.
1998-11-10 05:56:31 +00:00
mark
85d4fddd28
Use the footbridge pci bus space tags when attaching a vga console so
...
that the wscons code will recognise them later and correctly setup
cn_tab when the wsdisplay device is attached.
1998-11-10 04:34:05 +00:00
mark
c082b04018
Implement a separate function to set up the pci io and mem bus space
...
tags.
1998-11-10 04:32:03 +00:00
mark
e695fe5347
Implement bus_space_copy_region_2() for footbridge tags.
1998-11-10 04:29:21 +00:00
matt
1b8620b9fb
Cleanup media set on Alpha. ring txpoll after setting proper tx
...
interrupt mask.
1998-11-09 23:41:14 +00:00
thorpej
a1b2be7e1d
Const poisoning.
1998-11-09 23:12:48 +00:00
thorpej
9f20ff377a
Make the device lookup table-driven, like if_ep_pci.c.
1998-11-09 23:12:18 +00:00
rvb
e7f0c5989f
Change the way unmounting happens to guarantee that the
...
client programs are allowed to finish up (coda_call is
forced to complete) and release their locks. Thus there
is a reasonable chance that the vflush implicit in the
unmount will not get hung on held locks.
1998-11-09 16:36:16 +00:00
frueauf
a894e3a493
Add braces to make egcs happy.
1998-11-09 15:53:51 +00:00
frueauf
b6576d4d72
fix typo: nativ_to_hpux_errno -> native_to_hpux_errno.
1998-11-09 15:35:16 +00:00
kleink
4aeff0488e
Need <sys/featuretest.h> for previous commit's use of _POSIX_C_SOURCE to work
...
as expected.
1998-11-09 13:00:41 +00:00
bouyer
432a301fc6
Support for the CMD PCI064{3,6}. Tested on a 0646 with a
...
"wd0: PIO mode 4, DMA mode 2, UDMA mode 2" device.
1998-11-09 09:21:09 +00:00
msaitoh
21e1b057bc
Sorry, I forgot to revert "#if 0".
1998-11-09 07:01:47 +00:00
mrg
9e2545068d
compat_ultrix wants MSG_COMPAT/COMPAT_OLDSOCK: don't depend on COMPAT_43
1998-11-09 04:01:55 +00:00
nisimura
9d716ec821
- Fix many errors in cursor image manipulation. Hardware expect 2
...
bit/pixel format, not planer format. Assign MSB for cursor mask and
LSB for cursor image, where 10 means mask color and 11 for image color.
Image bit order of Bt431 and Bt459 are opposite to MIPS/Alpha processors
while IMS G332 and DC503 (PCC) are indentical.
- Assume that cursor images are 32 pixel padded as ULTRIX/DU ws interface
do. It's natural to X server.
- XXX Vast majority of codes are duplicated between mfb<->tfb and cfb<->sfb.
Code sharing might be achieved in the context of TGA/SFB+ merge.
1998-11-09 03:58:05 +00:00
mycroft
d4026f6eb5
GC the B_CACHE bit.
1998-11-09 01:18:34 +00:00
veego
2749e8b74a
We don't need the pci headers here.
1998-11-08 22:02:25 +00:00
is
9916260262
- declare method arrays in bus.h
...
- add interleaved_wordaccess method array
1998-11-08 21:09:27 +00:00
mycroft
967a4693f2
Set the B_NOCACHE bit so that NFSv3 will not try to do async writes.
1998-11-08 19:45:17 +00:00
mycroft
7c037b7009
Clear B_NOCACHE when we're done with the buffer -- although this is probably
...
pointless.
1998-11-08 19:41:49 +00:00
mycroft
6422baa1c0
Set the B_NOCACHE bit so that NFSv3 will not try to do async writes.
1998-11-08 19:37:12 +00:00
mycroft
36918f312f
Rework cluster_rbuild() to use buffers with the file system block size.
...
From Alasdair Baird.
1998-11-08 18:18:31 +00:00
mycroft
6957bd875c
Do not permit the u area for nfsd or nfsiod to be swapped out.
1998-11-08 15:57:44 +00:00
fvdl
d878e9efc8
Rely on priority match to resolve conflict with the ex driver, not on
...
a define.
1998-11-07 23:06:26 +00:00
is
ba74edf69b
Fix typo.
1998-11-07 22:50:25 +00:00
is
fd3b226223
We didn't really implement bus_space_{read,write}_stream_N, but
...
bus_space_{read,write}_region_stream_N. Correct the names.
1998-11-07 22:44:36 +00:00
ragge
f040374f11
Support for KA820 console RX50. From 4.4, ported to NetBSD by Sergey Svishchev.
1998-11-07 20:58:09 +00:00
drochner
1f23f4e047
add poll entry for (optional add-on) i4b raw device
1998-11-07 17:28:57 +00:00
ragge
b6158fa5e3
EGCS fixes. Implement htons as a C macro instead of asm; generates as
...
good code as the asm implementation _and_ can be optimized.
1998-11-07 17:22:58 +00:00
drochner
f213d2f96a
use common code for extended capability (power management)
...
let "match" return 2 (> ep_pci)
1998-11-07 16:53:19 +00:00
drochner
bbe9d71415
add support for "extended capabilities" (new in PCI spec 2.2)
1998-11-07 16:47:22 +00:00
mrg
7c0d69c3ab
minor KNF nits
1998-11-07 05:50:19 +00:00
jonathan
cdd3abe7a9
Pull MBR-scanning code and NetbSD-partition-finding into a separate
...
function, rathe than duplicating in readdisklabel() and writedisklabel().
XXX should really make MBR code MI, and share with other MBR-using ports
(e.g., arc, arm32 MBR label-scanning code).
1998-11-07 04:39:03 +00:00
jonathan
a581370fce
apply previous change to writedisklabel() as well as readdisklabel().
1998-11-07 01:30:57 +00:00
jonathan
45aa097296
Change COMPAT_386BSD_MBRPART: don't break on match, so that if there's more
...
than one DOSTYP_386BSD partition, we pick the last one, not the first.
That's what our install tools do/did with multiple ID-165 partitions.
1998-11-07 01:08:00 +00:00
cgd
515148e0a3
cast arg to dbtob to u_quad_t; consisent, and fixed size unnecessary
1998-11-06 23:03:06 +00:00
cgd
af24dfc946
argument to dbtob needs to be cast to u_quad_t here to avoid shift lossage
1998-11-06 23:02:12 +00:00
tron
63b722221a
Sync with "GENERIC".
1998-11-06 20:29:52 +00:00
is
23c04fa375
Add color debug code for DraCos.
1998-11-06 20:08:20 +00:00
mhitch
010e90e0ca
Cursor position offsets need different values for an sfb board with an
...
alternate clock that does lower resolution.
1998-11-06 03:53:40 +00:00
mhitch
a7f70a5fbc
Fix problem when using non-DEC CDROMS with blocksize other than 512 bytes.
...
This got lost when disk geometry processing was updated.
Also move the CDROM check from rzread() to rzwrite() - it doesn't make
much sense to report a read-only filesystem error when trying to read a
CDROM.
1998-11-06 01:59:25 +00:00
jonathan
fb020850a0
Increase compiled-in default bpf buffer size from 4096 to 8192.
...
(the libpcap API provides no way to resize the inkernel buffe,r and
4096 is too small to capture maximum-sized FDDI frames.)
1998-11-05 22:50:15 +00:00
kenh
e58cf6b359
Add definitions for the ATA power management commands
1998-11-05 22:49:09 +00:00
erh
bda913305b
Make sure the interpreter string is long enough to check against.
1998-11-05 22:19:25 +00:00
ragge
fbed93d50d
EGCS fixes.
1998-11-05 19:48:04 +00:00
ragge
bee167375f
EGCS fixes + TU81 fix.
1998-11-05 19:47:20 +00:00
ragge
3467859667
EGCS fixes.
1998-11-05 19:46:18 +00:00
mellon
3cc58a69cc
Fix a signed/unsigned thinko (this is cgd's fix)
1998-11-05 15:59:00 +00:00
frueauf
b1122614c3
Add braces to make egcs happy.
1998-11-05 14:13:59 +00:00
frueauf
03c64513e6
hpux_error.c got removed, add hpux_errno.c instead.
1998-11-05 12:42:46 +00:00
tsubai
1bf603b543
Sync to mac68k.
1998-11-05 11:46:07 +00:00
msaitoh
37bbf03777
fix pcic_chip_socket_enable() to works on more machines.
1998-11-05 07:55:48 +00:00
thorpej
2b695df1dc
Common code for media-from-bmcr.
1998-11-05 04:08:01 +00:00
thorpej
aabf2a0809
In the status routine, always use the media selected in the BMCR if
...
autonegotiation is not enabled. This is more reliable on many PHYs,
and requires fewer register reads.
1998-11-05 04:01:32 +00:00
thorpej
c755434d9d
Regen.
1998-11-05 03:43:57 +00:00
thorpej
84def70194
Add AMD's OUI, and the model number for the AMD 79C873 10/100 Ethernet PHY.
1998-11-05 03:43:43 +00:00
jeremy
a6f004d383
Corrected incorrect definition of child_return(). It only accepts one
...
argument.
1998-11-05 03:40:57 +00:00
thorpej
74b81e824e
Add "ukphy".
1998-11-05 00:38:10 +00:00
thorpej
567710942c
Add a driver for "generic unknown PHYs", meant as a catch-all for
...
PHYs we don't have specific drivers for. While this will not give
optimum operation, it will allow network interface drivers to at least
function while drivers for their specific PHYs are written.
1998-11-05 00:36:48 +00:00
thorpej
7d76571fd1
Tidy up the message from mii_print() somewhat.
1998-11-05 00:30:44 +00:00
thorpej
2a17544c19
Place the essentially common "ticks" and "active" members into the
...
mii_softc (generic phy goo), and just switch all of the PHY drivers
(except tlphy, which really does have special stuff) to use an mii_softc
instead of a private one.
1998-11-05 00:19:32 +00:00
thorpej
f66039cbce
Routines common between the Uknown PHY driver (forthcoming) and other
...
PHY drivers. This file has ukphy_status(), which is what PHY drivers
should use if media detection is done by decoding NWay.
1998-11-04 23:59:51 +00:00
thorpej
ad8b66c7c8
Return a higher-priority match than 1. These are specific drivers. This
...
allows for a "generic unknown PHY" driver to be implemented.
1998-11-04 23:44:09 +00:00
thorpej
51da8fc39f
Factor out the common reset code. Use the NOISOLATE flags as appropriate
...
to prevent a PHY from being isolated in the event the MAC can't deal with
this. (3Com 3c905B-TX, and Intel i82557).
1998-11-04 23:28:15 +00:00
thorpej
b097394468
Factor out some common code from all the PHY drivers (autonegotiation, for
...
now.)
1998-11-04 23:07:15 +00:00
thorpej
844622de9c
Define and use generic PHY read/write reg macros.
1998-11-04 22:15:40 +00:00
tsubai
8634976fb2
Move conversion of PRAM-time to UNIX-time to clock.c (like mac68k).
1998-11-04 15:06:13 +00:00
chs
28411139b3
be consistent with locking of amaps and anons when freeing them.
1998-11-04 07:07:22 +00:00
chs
e4c4ea06b4
remove outdated comment.
1998-11-04 07:06:05 +00:00
itohy
2d3363a6d0
regen.
1998-11-04 06:41:57 +00:00
itohy
b0e0dc2101
(manufacturer, product) = (0x149, 0x265) is used both
...
"Linksys EthernetCard" and some new versions of "D-Link DE-650".
Changed the product string as such.
1998-11-04 06:40:54 +00:00
itohy
5bf12ef4b9
Allow newer versions of D-Link DE650 cards (the manufacturer and
...
the product are valid and the same as Linksys EthernetCard's) work
with the current ne driver.
Somewhat kludgy.
1998-11-04 06:37:09 +00:00
chs
23ed4b5656
we must unlock a vp's object's lock before calling vrele().
1998-11-04 06:21:40 +00:00
chs
61458d7dfa
LOCKDEBUG enhancements for non-MP:
...
keep a list of locked locks.
use this to print where the lock was locked
when we either go to sleep with a lock held
or try to free a locked lock.
1998-11-04 06:19:55 +00:00
fvdl
42921bd66d
Add the ex driver.
1998-11-04 00:40:03 +00:00
fvdl
21ab4a980a
Add the 'ex' driver, a DMA driver for 3Com 90x and 90xB cards.
1998-11-04 00:31:59 +00:00
fvdl
7b10c3e7e4
Add the 'ex' driver, a DMA driver for 3Com 90x and 90xB cards. Rename
...
constants from EP_ to ELINK_ since they're now used in the ex driver as well.
1998-11-04 00:29:28 +00:00
fvdl
28221c24db
Add info for ex driver.
1998-11-04 00:28:05 +00:00
thorpej
6768f892cc
Add sqphy.
1998-11-03 23:52:50 +00:00
thorpej
b5ebc7dd87
Driver for Seeq 80220/80221/80223 10/100 Ethernet PHYs.
1998-11-03 23:51:29 +00:00
tron
46f5a5f507
Make "src/sys/arch/i386/stand" compile again.
1998-11-03 22:00:37 +00:00
tron
873f0be1cd
Sync with files in "src/lib/libz".
1998-11-03 15:49:39 +00:00
leo
4401599ff3
These should have been added together with leo.c a long while ago :-( Thanks
...
to 'entropy' for keeping an eye on me...
1998-11-03 14:50:15 +00:00
tsubai
0b3665db48
Add "Paddington" ID.
1998-11-03 12:15:57 +00:00
simonb
44dfb8ea2c
Define the size of the members of utsname in terms of _SYS_NMLN, and
...
define SYS_NMLN if not POSIX or XOPEN source.
1998-11-03 10:08:32 +00:00
thorpej
7fe67ebc21
Add support for the Seeq 80c24 AutoDUPLEX media interface which was nuked
...
when this driver was changed to use the MAC-independent MII code. This
"PHY" does not have a programming interface, but simply senses the duplex
mode from the link partner. Since it is not possible to read the 80c24
to determine the link type or status, we consider this to be "manual".
1998-11-03 05:47:38 +00:00
thorpej
cbcaaa3bc3
Make sure that a delay loop actually has some delay in it, and use IFF_OACTIVE
...
as appropriate.
1998-11-03 05:04:49 +00:00
thorpej
49d750db09
Regen.
1998-11-03 05:02:25 +00:00
thorpej
8adfcb5246
Define the model ID of the Seeq 84220 10/100 PHY.
1998-11-03 05:01:49 +00:00
thorpej
19fd5d178f
3Com PHY can't be isolated, so don't allow IFM_NONE.
1998-11-03 00:18:18 +00:00
thorpej
ec38cdc6d9
Add icsphy*.
1998-11-03 00:12:45 +00:00
thorpej
3f98e69b07
Driver for the Integrated Circuit Systems ICS1980 10/100 PHY.
1998-11-02 23:46:20 +00:00
thorpej
1f074c785d
When doing a media change service request, use the media word from the
...
current ifmedia_entry, not from the user-supplied media word. The
user supplied media word may not necessarily match e.g. instance (if
the parent MAC driver is intentionally ignoring instance if its expecting
multiple PHYs with non-overlapping media, e.g. TI ThunderLAN) the media
word we are actually switching to.
Since PHY drivers use `instance' to determine if they should isolate
themselves, the ThunderLAN PHY was sometimes being incorrectly isolated
when in fact the user attempted to select that PHY (for e.g. BNC operation).
1998-11-02 22:31:36 +00:00
thorpej
be4ce8c3f4
Add "10baseT-FDX" and "100baseTX-FDX" aliases to the end of the subtype
...
table. These are actually subtype+option combos, but these are the
strings displayed by the MII code to indicate 10Mbps full-duplex and
100Mbps full-duplex respectively, and it's Nice that ifconfig(8) can
grok them.
1998-11-02 22:10:26 +00:00
simonb
67f74ebee4
Implement the new BUFCACHE option.
1998-11-02 07:43:37 +00:00
ross
cee6f4a531
Implement the new BUFCACHE option.
1998-11-02 04:43:23 +00:00
tron
d9b5b0b01a
Sync with files in "src/lib/libz".
1998-11-01 21:28:51 +00:00
hubertf
e45fa5e3bb
add version for libkeycap
1998-11-01 17:14:27 +00:00
hubertf
eccf9ccdd8
s|share/misc|share/pcvt|
1998-11-01 16:37:06 +00:00
lukem
d04b2d9043
implement BUFCACHE, which sets the size of the buffer cache to BUFCACHE %
...
of physmem. if not set (or == 0), falls back to old sizing method.
1998-11-01 09:51:09 +00:00
christos
1cfb41e0d6
make this compile again (missing semi-colon)
1998-11-01 01:04:48 +00:00
mjacob
3bcd2ef84d
fix botched printout format
1998-11-01 00:03:08 +00:00
mjacob
82b48f66b6
If NSIO not defined, compile errors.
1998-10-31 23:51:05 +00:00
is
e4d73206ab
Make the exec header an automatic variable, instead of malloc()ed space.
...
Saves 60 bytes of code.
1998-10-31 22:40:27 +00:00
thorpej
d08eb2a32b
Add code to detect a RealTek 8019 chip, and use the media selection
...
support if present.
1998-10-31 01:44:16 +00:00
matt
32a315ff7c
Use the so_send and so_receive funcptrs in the socket instead of calling
...
sosend/soreceive directly. [I've been meaning to commit these for months.]
1998-10-31 01:18:41 +00:00
thorpej
7d4ee06d3e
Use the rtl80x9 common code for media selection.
1998-10-31 00:45:48 +00:00
thorpej
cd7f7eff85
Code common to RealTek 8019 and 8029 NE2000-compatible Ethernet chips.
...
Includes media selection support and support for Full-duplex.
1998-10-31 00:44:33 +00:00
thorpej
266aaad811
Define the "rtl80x9" attribute, to pull in code common to RealTek 8019
...
and 8029 NE2000-compatible Ethernet chips.
1998-10-31 00:43:19 +00:00
thorpej
fa97a53c11
Multiple inclusion protection.
1998-10-31 00:31:43 +00:00
thorpej
992f2906ba
Move the RTL8029 register definitions to <dev/ic/rtl80x9reg.h>, and add
...
the registers/bits present in the RTL8019 (ISA version).
1998-10-31 00:27:41 +00:00
thorpej
de14bf4f80
Manuel confirms that defaulting to AUTO is ok, to Do It.
1998-10-30 23:30:16 +00:00
matt
2e00799098
Conditionalize include of <lib/libkern/libkern.h> with _STANDALONE (like
...
libsa/nfs.c does). Fixes VAX libsa build problem.
1998-10-30 16:56:30 +00:00
lukem
80e1cdcee7
s/milieconds/milliseconds/
1998-10-30 13:47:02 +00:00
ws
2791cf041a
Fix a thinko which still prevented this to run on non-int13-ext machines.
...
Thanks to entropy@zippy.bernstein.com for pointing this out and testing the fix.
1998-10-30 12:16:59 +00:00
scottr
9d3eea92f4
Add DOS partition handling, from Ken Nakata in PR 4999, with
...
only slight tweaking by me.
XXX - does not currently handle NetBSD/i386 or 386BSD/FreeBSD partitions.
1998-10-30 06:48:51 +00:00
scottr
c8546bdb7b
Enforce a lower bound of (RAW_PART + 1) on the number of partitions
...
read from the Mac partition table. From Ken Nakata in PR 4999.
1998-10-30 05:27:15 +00:00
thorpej
ed473183ef
Define the FORMAT UNIT command, and several related structures.
1998-10-30 02:07:15 +00:00
nisimura
6020153959
- Assign copyright terms.
1998-10-30 00:53:12 +00:00
nisimura
074bc27605
- Add filenames for VDAC/cursor sprite hardware descriptions; bt431reg.h,
...
bt459reg.h, bt463reg.h and ims332.h as pointed by Klaus Klein.
1998-10-30 00:18:16 +00:00
mark
7cc47ae9b9
Pay attention to the share_size field in the filecore boot block in
...
filecore_map(). From Andrew McMurry.
Closes PR 6343
1998-10-29 23:18:57 +00:00
jonathan
ba531b48c6
Use console_debugger() hook to enter DDB.
1998-10-29 21:25:17 +00:00
jonathan
3ac3cbcfb8
Add options DDB_FROMCONSOLE and sysctl ddb.fromconsole, analagous to
...
DDB_ONPANIC. Lets user ignore breaks but enter DDB on panic. Intended
for machines where debug on panic is useful, but DDB entry is not,
(public-access console, or terminal-servers which send spurious breaks)
Add new ddb hook, console_debugger(), which decides whether or not to
ignore console ddb requests. Console drivers should be updated to call
console_debugger(), not Debugger(), in response to serial-console
break or ddb keyboard sequence.
1998-10-29 21:22:32 +00:00
nisimura
e29350c92c
- Introduce MI NWSCONS drivers for TURBOchannel framebuffer option cards.
...
N.B., Digital UNIX never supports neither PMAG-AA (mfb) nor PMAG-BA (cfb)
for TC Alphas. PMAG-DV (xcfb) is Personal DECstation built in. All should
be good for console, but need much works for cursor/colormap completeness.
1998-10-29 12:24:24 +00:00
enami
9ddbeaedbb
- match if the function just probing is disk and its interface is ATA.
...
- use product table only for the card which requires quirks or doesn't
have disk device interface tuple.
1998-10-29 09:49:51 +00:00
enami
3f3c763b1b
Define some constants for function extension tuple of disk function.
1998-10-29 09:45:52 +00:00
enami
634f1b5bf7
fix typo and some indentation.
1998-10-29 09:42:45 +00:00
jonathan
5211fed3ab
Michael Hitch's fix to dtop handler:
...
make handler FSM robust enough to not lose its place after data overrun.
stops keyboard from going catatonic.
1998-10-29 04:54:20 +00:00
is
d103f66935
Switch the Amiga port to UVM.
1998-10-28 22:41:24 +00:00
dante
27e57114e1
Add support for macppc
...
Very special thanks to Itsumi Tsutsui for his invaluable collaboration.
1998-10-28 21:06:27 +00:00
dante
2cb48d6c4e
Add support for macppc.
...
Very special thanks to Itsumi Tsutsui for his invaluable collaboration.
1998-10-28 20:39:45 +00:00
rvb
626749ed68
Venus must be passed O_CREAT flag on VOP_OPEN iff this is
...
a creat so that we can will allow a mode 444 file to be
written into. Sync with the latest coda.h and deal with
collateral damage.
1998-10-28 19:54:47 +00:00
kleink
026fcd0ce2
RCS Id police, canonicalize multiple-inclusion protection symbol names.
1998-10-28 16:26:01 +00:00
hubertf
bc70dd6bc5
Cleanup includes-installation, ACK'd by Matthias Drochner.
1998-10-28 14:14:45 +00:00
kml
afd8d9361f
Add call to splsoftnet() in rt_timer_timer to avoid possible race
...
condition in deleting timer queue (PMTU) entries.
1998-10-28 05:01:11 +00:00
jonathan
558bc32937
Add missing braces pointed out by egcs.
1998-10-28 04:28:32 +00:00
jonathan
dd735283c1
Add `struct proc;' to keep egcs warnings happy in userland.
...
XXX why are kernel prototypes visible here at all?
1998-10-28 04:26:52 +00:00
mark
096ffe523f
Fix a couple of string buffer overruns in lpt_ofisa_md_match()
...
From Richard Earnshaw, fixes PR6210.
1998-10-28 04:21:57 +00:00
nisimura
675a2afc89
- Brooktree Bt459 135 MHz Monolithic CMOS 256x64 Color Palette RAMDAC.
...
- Brooktree Bt431 Monolithic CMOS 64x64 Pixel Cursor Generator.
- Inmos IMS G332 Color Video Controller.
1998-10-28 04:10:36 +00:00
sakamoto
7b111b4229
Support frame buffer console with Matrox Millennium(probably, and II).
...
But, NetBSD/bebox kernel doesn't support yet.
1998-10-28 02:47:35 +00:00
hubertf
c884556c3d
Prevent loop caused by custom includes-target
1998-10-28 01:46:46 +00:00
thorpej
04c995f517
Add support for media selection to the PCI front-end of the NE2000
...
driver. Currently supports:
RealTek 8029: 10base2, 10baseT, 10baseT-FDX, auto detect (but not FDX).
1998-10-28 00:15:54 +00:00
thorpej
56066ad5fb
Add media list, media list count, and default media arguments to
...
ne2000_attach().
1998-10-28 00:13:47 +00:00
mycroft
13daec0fb1
Several things:
...
* Change the usage of B_DONE so that it is only set when a buffer is in sync
with the data on disk.
* If a buffer is being waited for, don't put it on the age queue.
* Make sure to clear B_DONE when pages are stolen from a buffer.
* Make sure to clear B_CACHE after each use.
* If we find a buffer for the block we want with valid data, but it is too
small, panic. (This isn't supposed to happen.)
Fixes potential file corruption problems with clustering.
1998-10-27 23:48:22 +00:00
thorpej
3a9e6f3a29
Define a "page 3", used on some chips which emulate a dp8390, but also
...
provide extensions.
1998-10-27 23:34:17 +00:00
thorpej
925077cfb9
Holy smokes, batman! Actually fill in the "init_card" entry point!
1998-10-27 22:45:13 +00:00
thorpej
a45667c4c3
Add register definitions for PCI NE2000-compatible extenstions, allowing
...
control over e.g. full-duplex mode, media, etc.
Currently, only extensions for the RealTek 8029 are defined.
1998-10-27 22:30:56 +00:00
mycroft
1a5b9c6c30
Do not corrupt file flags when file system is full!
1998-10-27 21:32:58 +00:00
matt
b26897f295
Initial bus_space support routines (should be common across
...
all platforms and buses).
1998-10-27 21:19:48 +00:00
matt
4cbbe0abff
Latent support for revamped "local bus" support.
1998-10-27 21:18:52 +00:00
thorpej
e5c050d79c
Cosmetic changes in product lookup, to match other drivers.
1998-10-27 19:49:37 +00:00
christos
12fd61ebc9
PR/6356: Hubert Feyer: Linux emulation has problem w/ pipes
...
On linux we don't have syscalls that use retval[1] (edx). So don't
corrupt edx, because the compiler assumes that it has the same
value as before the syscall. Also, compute if we are running under
linux emulation in one place. XXX: Someday we should have a syscall
function per emulation and avoid the mess.
1998-10-27 18:04:27 +00:00
ws
6463d10c79
Fix typo which prevented this from working
...
on disks without int13-extension support.
1998-10-27 14:08:55 +00:00
ws
a541c86a76
Update version number and mention int13 extension support
...
(sorry, forgot this on the recent commit of the above).
1998-10-27 12:59:02 +00:00
thorpej
2fd1cb5817
Regen.
1998-10-27 00:55:46 +00:00
thorpej
64acdc1e7a
Product ID for Xircom CreditCard CE2 10base-T Ethernet.
1998-10-27 00:55:30 +00:00
scottr
890be8e6d7
Whoops! When looking at the return value from ptest040(), be sure
...
to handle the case of a TTx register hit.
1998-10-26 23:17:54 +00:00
hubertf
7e430fc3fd
Install programs & files for pcvt.
1998-10-26 21:01:28 +00:00
ender
ab941faefb
Make the kernel compile when the ALTXBUTTONS option is set.
...
Fixes PR#6363 from Frederick Bruckman (fb@enteract.com )
1998-10-26 19:20:00 +00:00
sommerfe
116ab7954f
This file has no real dependancies on SYSV ipc gunk.. so don't drag in headers
1998-10-26 19:11:57 +00:00
sommerfe
6f6b09a92a
s/SunOS/Ultrix/ in comment
1998-10-26 18:31:01 +00:00
ws
ede30e2813
Fix a buglet when looking up an interface for multicast:
...
Zero out the routing structure before calling the route lookup code
in order to correctly match addresses.
1998-10-26 17:31:01 +00:00
pk
9eb94a0c03
Must protect user-land from cpuvar.h; noticed by Juergen Hannken-Illjes.
1998-10-26 08:16:08 +00:00
pk
f3c1682c65
No need for `#ifdef SUN4M' protection.
1998-10-26 08:12:15 +00:00
scottr
a83dff9c40
Make it compile for MRG_ADB kernels.
1998-10-26 07:09:37 +00:00
scottr
974ff0e869
Use the <machine/asm.h> macros, and don't call code that we haven't
...
included.
1998-10-26 07:07:34 +00:00
scottr
5af0d2da90
Don't hide the ADB hardware types when we're building an MRG_ADB kernel;
...
we really do need them around, anyway.
1998-10-26 07:06:41 +00:00
scottr
3a7a7177cc
Update for changes to NCR5380_READ() and NCR5380_WRITE().
1998-10-26 04:44:04 +00:00
scottr
8ed7c47c7a
In order for the SCI_CLR_INTR() and SCI_BUSY() macros to work, we
...
must actually use the softc pointer provided. Adjust NCR5380_READ()
and NCR5380_WRITE() appropriately.
1998-10-26 04:42:47 +00:00
enami
92d5be6614
Explicitly test Intel 82371AB PCI-ISA bridge since *some* of them
...
identify themselves as miscellaneous bridge rather than isa bridge.
1998-10-26 03:47:19 +00:00
enami
c8a28ce872
Cosmetic change; use tab for basic indentation rather than four space.
1998-10-26 03:43:52 +00:00
sakamoto
709dd80ed0
Support frame buffer console initialized by the BootRom of the BeBox.
...
But, NetBSD/bebox kernel doesn't support yet.
1998-10-26 00:45:47 +00:00
scottr
ffe41a4f8f
Remove unused sc_iot/sc_ioh fields.
1998-10-25 23:48:56 +00:00
scottr
d4e6677111
Replace architecture-dependent tag/handle field names with
...
architecture-independent versions.
1998-10-25 23:48:29 +00:00
is
c6457000db
Fix obvious typo in DEBUG code
1998-10-25 21:58:25 +00:00
christos
fab7faf6a4
Fix typo
1998-10-25 18:49:18 +00:00
christos
6e73d89afc
PR/6274: John Ruschmeyer: Add isa/i386 ncr53c80 driver.
...
XXX: Needs work. We need to fix the probe/find goo, and add support for the
pas16 cards.
1998-10-25 18:41:56 +00:00
christos
62b06e44c3
Add nca driver goo.
1998-10-25 18:40:17 +00:00
tsubai
d6ebbdb79a
Fix -Wpointer-arith warning.
1998-10-25 17:39:52 +00:00
christos
906db1e920
PR/6274: John Ruschmeyer: Add support for the ncr53c80 driver on the i386.
1998-10-25 17:26:41 +00:00
tsubai
262ba9ad95
Fix miscounting of length in syncicache().
1998-10-25 10:13:21 +00:00
mrg
70961a3e4c
mark native_to_svr4_errno as extern (avoids compiler warning).
1998-10-24 19:35:36 +00:00
christos
e5d2a186e0
Finish Eric's changes.
1998-10-24 19:04:19 +00:00
christos
7d7a80a8fd
Allow kdump to compile again.
1998-10-24 19:03:53 +00:00
kleink
da85408cb0
Define _REENTRANT if appropriate.
1998-10-24 16:30:56 +00:00
kleink
eec814ba1c
Remove argument name from function declaration.
1998-10-24 16:22:58 +00:00
mrg
bba8470ccb
KNF a missing bit. remove register.
1998-10-24 13:32:34 +00:00
is
9177fc99a7
Oops. People without I4B should still be able to compile a kernel.
1998-10-24 11:09:29 +00:00
is
4a961f034b
All m680?0 User Manuals claim that trap vectors are fetched from the data
...
cache, if found there (but not allocated in the data cache on trap).
No need to flush the data cache.
1998-10-24 10:48:34 +00:00
pk
de51cf3531
Define and use CPU pause/resume IPI messages (until such times that I know
...
what the prom supplied versions actually do).
1998-10-24 08:12:55 +00:00
pk
c85c920d03
Duh.. condition codes are not preserved when writing directly into %psr.
...
Also, we need to deal with bus latency when turning off bits in the
interrupt status register.
1998-10-24 08:04:07 +00:00
jonathan
04062f718c
Cleanup kdbpeek() definition as noted in PR port-mips/5252.
1998-10-24 01:36:09 +00:00
jonathan
e68e8297d2
Fix stacktrace alignment, in case of 64-bit stores into stackframes.
...
From pr port-mips/5536 from Castor Fu <castor@geocast.com>
1998-10-24 01:14:26 +00:00
thorpej
bfc8ed8a50
Add "exphy" and "lxtphy" drivers.
1998-10-24 00:46:17 +00:00
thorpej
86fca03a0d
Driver for the Level One LXT-970 10/100 Ethernet PHY.
1998-10-24 00:33:17 +00:00
briggs
67be755f17
DTRT if sfb is not configured in the kernel.
1998-10-23 23:49:31 +00:00
is
009398587b
This time, really add i4b to cdevsw[].
1998-10-23 23:03:02 +00:00
jonathan
e9441f3a72
Garbage-collect obsolete "field" intpri from ibus_attach_args.
...
clean up initalizers to use correct, in-range values for ia_cookie,
which is what ibus children passed down to ibus_intr_establish.
1998-10-23 23:01:44 +00:00
is
732bba6038
oops, commit error. undo.
1998-10-23 22:38:26 +00:00
thorpej
d90afeeba0
Call m_reclaim() in MCLGET() if initial pool allocation fails. Accidentally
...
removed when mbuf clusters were pool'ified.
1998-10-23 22:36:17 +00:00
is
8a6428e6be
Add entries for i4b devices / placeholders, like in i386 and Atari.
1998-10-23 22:14:27 +00:00
mjacob
3de1dbaf24
add missing include that defined native_to_ibcs2_errno
1998-10-23 19:45:59 +00:00
jonathan
9a06d5e2a6
Compute compile-time value of old-VM parameter MAX_KMAPENT from NPROC
...
(2x NPROC plus slop) unless expclitly set. Use current constant value
(100) as a lower bound, as suggested by Chuck Cranor.
Move NPROC and other parameter definitions from param.c to param.h so
they are visible to vm/vm_map.h.
Systems with hand-tuned NPROC should now support that many processes.
1998-10-23 19:37:32 +00:00
mjacob
150020cdf2
add missing include that defined native_to_svr4_errno
1998-10-23 19:36:03 +00:00
bouyer
354f32509f
Pass the rigth argument to wdcintr(). Closes PR 6342.
1998-10-23 13:58:17 +00:00
veego
4c127bdcd4
Include linux_errno.h to fix the recent error->errno losage.
1998-10-23 10:54:58 +00:00
erh
813dd6128b
Rename svr4_error to native_to_svr4_errno.
1998-10-23 04:06:00 +00:00
erh
177a7fac85
Moved to svr4_errno.c,v
1998-10-23 04:02:18 +00:00
erh
436999b6cd
Moved from svr4_error.c,v
1998-10-23 04:02:17 +00:00
erh
907ec5233d
linux_error.c moved to linux_errno.c
1998-10-23 03:56:22 +00:00
erh
8b351f0104
Change linux_error to native_to_linux_errno. Add some (unrelated) debugging printfs.
1998-10-23 03:53:18 +00:00
erh
76aa1f4bcf
Moved to linux_errno.c,v
1998-10-23 03:46:25 +00:00
erh
a766015254
Moved from linux_error.c,v
1998-10-23 03:45:37 +00:00
erh
36d1163663
Move ibcs2_error.c back to ibcs2_errno.c. Old name was more descriptive. Make it more so and use "native_to_ibcs2_errno".
1998-10-23 03:22:59 +00:00
thorpej
afbf922a93
Don't print the revision of the 3c905B-TX's internal PHY; it's meaningless.
1998-10-23 01:52:50 +00:00
thorpej
322ba3cc84
Make sure the parent is an `ex'. The 3c905B-TX's internal PHY isn't
...
the only one w/ non-existent ID registers. SIGH.
1998-10-23 01:43:09 +00:00
ender
2055d846f9
New ADB "bus" interface:
...
o Separate ms and kbd drivers
o aed device for compatibility
o debug message cleanup in hardware direct support (from scottr)
1998-10-23 01:16:22 +00:00
thorpej
978c3d97f5
For consistency w/ FFS/LFS, define EXT2_DINODE_SIZE, and use it instead
...
of pointer arithmetic and/or sizeof(struct ext2fs_dinode).
1998-10-23 00:33:23 +00:00
thorpej
5ecbc50348
Use DINODE_SIZE rather than sizeof(struct dinode).
1998-10-23 00:32:35 +00:00
thorpej
f7948d05a1
Use DINODE_SIZE rather than pointer arithmetic.
1998-10-23 00:31:28 +00:00
thorpej
c8a2232a27
Define a symbolic constant to represent the size of a dinode.
1998-10-23 00:28:45 +00:00
jonathan
0582e98991
Treat Wangtek QIC-150 SCSI tapes the same as Viper, so they work on
...
3100s as well as with the asc driver.
1998-10-22 23:01:45 +00:00
drochner
b301435840
back out last change - this file in unrelated to wscons stuff
1998-10-22 18:50:17 +00:00
drochner
01d6f66b07
adapt to keyboard driver changes
1998-10-22 18:37:57 +00:00
erh
dd1e5f373e
Define LINUX_GCC_SIGNATURE.
1998-10-22 18:13:02 +00:00
drochner
00d699282f
separate keyboard handling from serial interface handling some more,
...
improve bell handling, initialize kbd on powerup
1998-10-22 17:55:20 +00:00
bouyer
31dec5ddc5
Add config flags for pciide: 0x001 forces the use of DMA when the driver
...
don't know how to set the controller's modes.
1998-10-22 15:11:39 +00:00
nisimura
f6490fe309
- General cleanups for NWSCONS zskbd.c and zsms.c Comments for
...
future improvement work.
1998-10-22 08:37:16 +00:00
scottr
5cb5f44921
Defopt ALTXBUTTONS, DISABLE_EXT_CACHE, and ZS_CONSOLE_ABORT.
1998-10-22 04:36:50 +00:00
briggs
b70011edac
wscons mouse interface for DEC mice off the Zilog SCC.
...
Ported from dev/sun/ms.c by Takuya Koumoto <takuya-k@is.aist-nara.ac.jp>.
1998-10-22 01:56:55 +00:00
briggs
2db4e51dad
Kernel config for wscons/serial console support for TC alphas, based on
...
GENERIC. This can go away when NEW_SCC_DRIVER hits prime-time.
1998-10-22 01:05:36 +00:00
briggs
ab9470909c
Preliminary support for both serial consoles and kbd/display wscons
...
consoles for TC alphas. Based on code from Takuya Koumoto
<takuya-k@is.aist-nara.ac.jp> as well as some parts of Toru Nishimura's
and Matthias Drochner's work on pmax wscons. This relies on the
NEW_SCC_DRIVER.
1998-10-22 01:03:07 +00:00
briggs
605b15b723
Code from Toru Nishimura and Matthias Drochner work on pmax wscons in a
...
very slightly modified form for wscons support on the TC alpha.
XXX This could use some more work, but this code should be sharable
among the alpha and pmax systems as-is.
1998-10-22 00:53:24 +00:00
briggs
a8950dafc6
Updates from Takuya Kuomoto for wscons support for TC alphas.
1998-10-22 00:50:00 +00:00
tron
bac6bb6bf2
No need to get definition of "SYSV..." from "opt_sysv.h" because they
...
must be set if these files are compiled.
1998-10-21 22:24:28 +00:00
ragge
42ed21663a
Make boot recognize MSCP disks on VAX8200. From Sergey Svishchev.
1998-10-21 20:16:33 +00:00
bouyer
88d1b8138c
If WDC_DIAGNOSTIC is defined, check in wdcstart() that we are called at
...
splbio.
1998-10-21 09:12:46 +00:00
tsubai
325ecdada1
Use PCI function number correctly.
1998-10-21 08:58:36 +00:00
pk
890e54bee0
Pull in cpuvar.h to get definition of `curproc'.
1998-10-21 07:11:47 +00:00
thorpej
c0ba12768e
Fix a sight open flags buglet pointed out by Matthias Scheler.
1998-10-20 22:26:04 +00:00
is
a2386d4325
fully implement soft callback usage
1998-10-20 22:18:13 +00:00
augustss
8aaec6d337
Fix typo.
1998-10-20 21:28:32 +00:00