Commit Graph

26579 Commits

Author SHA1 Message Date
matthias bd1c07266e * add missing prototypes.
* Fix some printf format strings.
* Remove unused Debugger() definition.
1997-03-20 12:00:43 +00:00
matthias 79e491a855 * Add missing prototypes and casts.
* Fix a printf format string.
1997-03-20 12:00:42 +00:00
matthias 0b6fa5346b * Add missing prototypes. 1997-03-20 12:00:40 +00:00
matthias 966187a7e0 * Add missing prototypes.
* Reconstruct a piece of text that got lost in the past.
* Make the output for undefined instructions more consistent.
1997-03-20 12:00:37 +00:00
matthias 4712de3be8 * Do not call all the *_decl macros. This is done by <sys/conf.h> and
<machine/conf.h>.
1997-03-20 12:00:34 +00:00
matthias b677f20e5d * Make the rtc and the clock real devices. Initialize the clock parts
of the ICU in clock_attach.
* Pull over (and reformat) rtc_rw from mem.c.
* Convert the rtc driver to use /sys/dev/clock_subr.c (partially by
  stealing code from the sun3 port).
1997-03-20 12:00:33 +00:00
matthias fa30cfc066 * Remove all the mainbus stuff. This is in mainbus.c now.
* The clock is no longer started by startrtclock. This is done by
  clock_attach now.
1997-03-20 12:00:30 +00:00
mycroft a2f33a43c2 Turn off a debugging printf(). 1997-03-20 11:04:51 +00:00
mycroft 95abb133dc Add 16-bit DRQ support on PnP, and enable 16-bit output. 1997-03-20 11:03:10 +00:00
mycroft ab86334267 Second DRQ is at 0x75, not 0x72. 1997-03-20 10:48:02 +00:00
thorpej 12c0a8c5c8 Correct keyboard map references in the default case. From
Klaus Klein <kleink@layla.inka.de>, PR #3361.
1997-03-20 08:07:01 +00:00
thorpej 21c7befacf Back out part of the previous patch - not only does stuffing a sizeof()
into 8 bits generate (bogus) warnings on some architectures, but the
change to pad on "scsi inquiry" is no longer needed, apparently.
Thanks to Matthias Pfaller for pointing the latter out to me.
1997-03-20 07:13:07 +00:00
mycroft c1cc14fa25 Combine set_encoding and set_precision into a single set_format interface. 1997-03-20 06:48:48 +00:00
perry 23d6697446 fix 3364 from enami tsugutomo -- FTS ftsp -> FTS *ftsp 1997-03-20 05:39:55 +00:00
mycroft 41bbc3f5b6 SOUND_PCM_WRITE_CHANNELS -> SNDCTL_DSP_CHANNELS, to match current Linux code. 1997-03-20 04:21:31 +00:00
mycroft de69173e77 Fix oversights in previous. 1997-03-20 03:56:11 +00:00
mycroft 8b4878a6ba Fill in silence-padded blocks so we don't get gaps. From PR 3357,
by Lennart Augustsson.
1997-03-20 03:19:53 +00:00
mycroft 4cba0b41af cpu_reset(): Improve the triple-fault code, and use it by default for now. 1997-03-19 22:39:25 +00:00
mycroft da53c636bc ether.h -> arp.h
NETHER -> NARP
1997-03-19 20:32:11 +00:00
mycroft a283cb636c Check for errors returned by AD1848 routines. 1997-03-19 19:54:44 +00:00
cgd 2cde9c6e69 fix multi-function device support, add new known classes/subclasses,
and clean up class/subclass printing.  From brb@brig.com via PR 3359.
1997-03-19 19:38:46 +00:00
mycroft 2b72395bfc ad1848_commit_settings(): Don't set the speed/format register if the
parameters haven't changed.  From PR 3360, by Jason Baker.

Also, clean up several overly-complex interfaces.
1997-03-19 19:31:15 +00:00
sommerfe 62852f4d92 If we're "degraded", say just *how* degraded we are.. 1997-03-19 18:18:02 +00:00
sommerfe 9fefd40478 In 16-bit mode, mov %ax,%bx is interpreted as mov %eax,%ebx; this
breaks zero-extension of the 16-bit memory size return from the BIOS.
on at least one system, the trash left in the upper half of %eax
causes the kernel to crash during VM system initialization when it
thinks it has on the order of 2**31 bytes of memory to play with.

We now *say* mov %eax,%ebx, but *mean* mov %ax,%bx..
1997-03-19 18:12:10 +00:00
gwr b5afc4b28d Change arg two of all the match functions back to struct cfdata
now that __BROKEN_INDIRECT_CONFIG has been removed.
1997-03-19 16:24:38 +00:00
is 33d80a37da Deal with AF_ARP on transmission --- without it, the new ARP code doesn't
work.
1997-03-19 16:17:04 +00:00
christos 9c21b4d7f9 Try adding `o' option again; connection died. 1997-03-19 12:44:08 +00:00
christos 3696ff03af Take care of alignment problems on the alpha: From John Birell, via cgd. 1997-03-19 12:36:03 +00:00
lukem 8c5cee237e * use mkstemp() instead of mktemp()
* remove "register" qualifiers
1997-03-19 08:42:51 +00:00
scottr 1c0a3c8ce7 Several more changes to move us toward MI-ness:
- Use more consistent and portable types in the softc.
 - Map registers using an array of bus_size_t offsets, and set up the
   mapping in the attach code (thanks to Jason Thorpe for suggesting
   this!).
 - Disable the ae-specific watchdog, which is no longer necessary in
   the general case.

Still remaining:  split out functions used to copy data to/from the
card, and retain a way to have a local driver name with the MI code.
1997-03-19 08:04:38 +00:00
mikel eb7e30aa3d normalize off-by-four ad1848 register offsets.
also silence probe unless debugging is enabled.
1997-03-19 06:47:37 +00:00
mikel 80a8a81608 normalize off-by-four ad1848 register offsets. 1997-03-19 06:45:21 +00:00
mycroft 7fb9269e92 DTRT if e_wmesg is not NUL-terminated. 1997-03-19 05:45:27 +00:00
mikel 2a8b3fc882 use FD_SETSIZE instead of manifest constant for select(2); from Rolf
Grossman in PR bin/3338.
1997-03-19 05:36:59 +00:00
mycroft aa5b127136 e_wmesg doesn't need to be NUL-terminated; give it an extra byte instead. 1997-03-19 05:36:26 +00:00
mycroft 827a9bc80d DTRT if e_login is not NUL-terminated. 1997-03-19 05:34:47 +00:00
mycroft eb41ccd5fe Emulate the SOUND_PCM_WRITE_CHANNELS ioctl. From PR 3356, by Lennart
Augustsson.  Also add hooks for mixer ioctls.
1997-03-19 05:12:13 +00:00
mycroft ef083dd857 fill_eproc(): Fill in e_login. From PR 3351, by Geoff Wing. 1997-03-19 04:55:07 +00:00
mycroft ff6b9e27ce Do not permit the user to set the nested task flag. 1997-03-19 03:52:02 +00:00
mycroft 139d254f6a Handle user TSS faults. 1997-03-19 03:19:01 +00:00
mark 82de5bb16d Add missing ifp variable in eaintr() following new ARP merge. 1997-03-19 02:45:06 +00:00
mark e8e11b85c0 Fix missing bracket introduced in new ARP system merge. 1997-03-19 02:43:03 +00:00
thorpej 914022ca23 Resolve conflicts from merge. 1997-03-19 02:37:36 +00:00
mycroft 14656f0069 Don't attempt to use libwrap for `stream wait' services, where
we only have the listening socket.
1997-03-19 00:05:05 +00:00
gwr 4663c4fa2a Sync with the sun3 version. 1997-03-18 23:49:07 +00:00
gwr 63176de160 Moved eeprom_uio to machdep.h 1997-03-18 23:39:20 +00:00
gwr 9f13c3afe5 Read the EEPROM once at attach time, then do user I/O on the copy.
Make /dev/eeprom support normal "read to EOF" behaviour.
Removed ee_console, ee_get_byte (dead code).
1997-03-18 23:31:59 +00:00
gwr dee24f1082 Moved the _KERNEL declarations to machdep.h 1997-03-18 23:26:38 +00:00
gwr 1161fcc583 Add /dev/leds, and allow both that and /dev/eeprom to
return EOF when you read to the end of the device.
Garbage collect some dead code after the switch.
1997-03-18 23:21:04 +00:00
gwr c960be72aa Add /dev/leds (closes PR#2172 from der Mouse) 1997-03-18 22:21:50 +00:00