Commit Graph

26402 Commits

Author SHA1 Message Date
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
thorpej
98730721d9 Use std.mvme68k, which contains non-optional "options" (a'la other ports). 1997-03-18 21:41:49 +00:00
thorpej
03ecf5dce7 Use our own db_memrw.c 1997-03-18 21:39:01 +00:00
thorpej
7b668f11c8 Use the hp300 db_memrw.c, which works with read-only kernel text. 1997-03-18 21:34:52 +00:00
thorpej
dc401484c4 When mapping kernel text, always make it PG_RO. 1997-03-18 21:31:48 +00:00
thorpej
5bf83341cf - Add a few prototypes.
- cpu_startup() - mark pre-text pages VM_PROT_NONE and kernel text pages
  VM_PROT_READ|VM_PROT_EXECUTE in kernel_map, to avoid strange things like
  COW'ing the kernel text (from hp300 port)
- Fix dumpsys() to conform to the new dump bdevsw calling convention.
1997-03-18 21:30:24 +00:00
christos
f3703d3a82 Remove -g 1997-03-18 21:27:16 +00:00
christos
5a6005a07e Off by one. 1997-03-18 21:26:43 +00:00
thorpej
c50ed28c3c Get rid of __BROKEN_INDIRECT_CONFIG. 1997-03-18 21:21:52 +00:00
thorpej
73a0fb50d2 Get rid of __BDEVSW_DUMP_OLD_TYPE and __BROKEN_INDIRECT_CONFIG. 1997-03-18 21:17:18 +00:00
cgd
575d2214af punt rc.hack for now. It's not so happy with a shared-lib-based system,
because it wants to use sysctl and sysctl is normally dynamically linked,
and it doesn't have the shared libs available when it wants to use it.
The right thing to do (if i want to propagate this hack) is to build a
statically-linked sysctl rather than copying the dynamically-linked one.
1997-03-18 20:04:11 +00:00
cgd
1d27905d84 fix bogon in the ImageDisk entry, add an entry for 3.5" floppies (useful
for making floppy images w/vnd).
1997-03-18 19:55:00 +00:00
christos
161ba8eea5 Fix problems in the RE substitution error handling. 1997-03-18 19:24:46 +00:00
christos
217f82764f PR/3329: From David Jones: Add F_ONCE 1997-03-18 19:06:51 +00:00
christos
dd64e55c90 PR/3353: From Alistair G. Crooks: move to the new arp world. 1997-03-18 18:58:12 +00:00
christos
4fe8f4e95f PR/3354: From Michael Eriksson; I_SETSIG did not handle O_ASYNC properly
and we would never get asynchronous events back. This affected the java
SDK. Also GC O_RAIOSIG which was a Dell/SVR4'ism which is now RIP.
1997-03-18 18:57:19 +00:00
christos
a0fa692d3b PR/3352: From Hiroyuki Ito: ${#1} was not being expanded properly if there
was a need to allocated another stack block.
1997-03-18 18:54:40 +00:00
veego
2cae836714 Remove NAE, put the revision into ae_softc and fixes from dev/ic/am7990.c:
>Signed shifts are evil.
>Thanks to Michael Smith for reporting, Jason Thorpe for pointing to the
>report, doing a quick workaround which pointed me to the right code part and
>for testing the final fix.
1997-03-18 18:44:53 +00:00
is
7cdbc9038e If we #ifdef NARP, we should also #include "arp.h", not "ether.h".
Bug report and remote debugging by Bernd Ernesti.
1997-03-18 18:29:06 +00:00
mycroft
c14b8539e0 Make active_user_pmap() DTRT while a process is exiting. 1997-03-18 16:39:30 +00:00
perry
ab8dd6a331 fix typos per pr-3349 submitted by SAITOH Masanobu 1997-03-18 14:25:29 +00:00
mycroft
d19eaa3d4f Add an active_user_pmap() macro, and use it as appropriate. 1997-03-18 14:13:55 +00:00
mycroft
1068c83731 Check for curproc being null before dereferencing it in more cases. 1997-03-18 13:01:07 +00:00
cgd
c944e200eb fix up new-arp goofups 1997-03-18 07:27:58 +00:00
cgd
a8bb00476f ioctl commands are u_longs 1997-03-18 07:14:45 +00:00
perry
d7df680439 Fix the last fix.
a the -> the
1997-03-18 06:17:17 +00:00
perry
a8f5d0c853 Note that DDB_ONPANIC may also be set with sysctl(8) 1997-03-18 06:15:18 +00:00
thorpej
c7a206e714 Eek! We have a namespace collision between the SCSI Ethernet driver
and SYSVSEM.  Kludge it for now.
1997-03-18 05:55:37 +00:00