Commit Graph

645 Commits

Author SHA1 Message Date
briggs 36654b75d9 Use flags for scsi interrupts. clean up a small bit. 1995-07-01 16:35:16 +00:00
briggs 175a1e27f4 add needs-flag for the scsi chip interfaces. 1995-07-01 16:28:13 +00:00
briggs 12ab0410c7 Clean up a tad. 1995-06-30 05:25:41 +00:00
briggs fcde92bcba Fix straytrap(). Update a few values in the ROM table. 1995-06-30 05:25:01 +00:00
briggs 5fced13f51 Ooops. 1995-06-30 05:23:03 +00:00
briggs 705e6bd12b Fix oversight. 1995-06-30 05:21:33 +00:00
briggs 29bb03860c Option key fix from Ken Nakata (kenn@remus.rutgers.edu). 1995-06-30 01:23:21 +00:00
cgd 2b71eae2c7 note that most of dev/ic's contents have changed names 1995-06-28 04:30:30 +00:00
briggs 829668e8d3 Some random cleanup and some cleanup of the dump routines, modelled on
i386.  Untested.  Remove old mac68k-specific stack trace code, etc. as
the cleanup.
1995-06-28 04:09:25 +00:00
cgd 2d49c3885b clean up definitions of ctod(), dtoc(), ctob(), btoc(), btodb(), and
dbtob().  remove unused definitions of ctos(), stoc(), and dtob().
1995-06-26 06:55:38 +00:00
cgd 1c0be437b1 define __BDEVSW_DUMP_OLD_TYPE for ports where it's true. clean up
some m68k ports inclusion of common header.
1995-06-26 05:13:37 +00:00
briggs 600cdad805 Stupid typo in last. 1995-06-25 14:02:09 +00:00
briggs 50d8509da2 Stupid pasto in last. 1995-06-25 13:53:21 +00:00
briggs 0958ef72c8 Add libcompat. 1995-06-25 13:39:37 +00:00
briggs 2a153a49b1 Fix the clean target. 1995-06-25 13:06:32 +00:00
briggs 4d6069140b Get the units right... 1995-06-25 04:49:05 +00:00
briggs b1addb6674 Patches from Walter Ruetten (walter@ghpc8.ihf.rwth-aachen.de)
and Daniel Risacher (magnus@mit.edu).  Apparently with some
helpful discussion from John Wittkoski (jpw@insoft.com).
This works on my IIcx and IIsi.  Still needs a bit of cleaning up.
1995-06-25 03:24:09 +00:00
briggs b1598cdd1b Remove a compile warning. 1995-06-25 02:46:46 +00:00
briggs fc6fb65d62 Do something a lot closer to the right thing for FPU_EMULATE/FPSP/040
and subsets thereof.
1995-06-25 02:45:14 +00:00
briggs 5781a8dcc0 The kernel is called netbsd, not vmunix. 1995-06-24 17:24:24 +00:00
briggs 4f05f7e8f6 pmap_page_index isn't a macro. 1995-06-24 16:18:50 +00:00
briggs 1dadb15deb Remove DIAGNOSTIC 1995-06-22 23:24:18 +00:00
briggs 3ddc81510c Add avail_end to keep ps and friends happy. Possibly a short-term fix. 1995-06-22 03:08:29 +00:00
briggs 1ccd38d9e1 Don't use constants for addresses. VA != PA... 1995-06-21 03:59:07 +00:00
briggs 229ed22747 Add function to reconfigure addresses when ROM is remapped. 1995-06-21 03:46:52 +00:00
briggs 2beeae8058 Lots of changes from hp300.
Removed MACHINE_NONCONTIG conditionals.  Only support that
configuration, now.
Some cleanup.
1995-06-21 03:45:10 +00:00
briggs 49b9eb5e4d A number of clean-up related changes and a few changes relating to
the new mapping.  "real mem" is now correct for MACHINE_NONCONTIG
machines.  MACHINE_NONCONTIG conditionals have been removed--only
support that case, now.
1995-06-21 03:41:51 +00:00
briggs 778adb81d1 Bring in 040 code from hp300 port.
Remove memory mapping code.
Update cpu_switch and a few other functions from hp300 port.
1995-06-21 03:36:27 +00:00
briggs 3d04799c79 Remove warning. 1995-06-21 03:20:58 +00:00
briggs 19b569364f Cleanup some--needs more pruning. 1995-06-21 03:20:22 +00:00
briggs 37b6dc390f Put page mapping code into a C module.
Remove old 040 version of page mapping--new way handles 040, too.
Derived from hp300 pmap_boostrap.c.
1995-06-21 03:19:35 +00:00
briggs 4a9e8ef39f Raise MAXTSIZ, double DFLDSIZ and quadruple MAXDSIZ. Lower USRPTSIZE.
Remove unused mapin() macro.  Update VM_MAX* macros to look like the
amiga's (easier to read than hp300's).
1995-06-21 03:17:06 +00:00
briggs 5dd8297b11 Cleanup some and make these look more like hp300 versions. 1995-06-21 03:14:06 +00:00
briggs 23622438bf Get rid of pcb_cmap2. 1995-06-21 03:10:44 +00:00
briggs c2184f6f5b Update to look more like hp300. Clean up a lot. 1995-06-21 03:08:29 +00:00
briggs 04834fb800 Remove cpu_set_init_frame() define.
Remove BROKEN_SWAP
Change cpu_swapout() to null-op.
Remove profile_tick() define.
Add some 040 stuff and make other 040 stuff compat. with hp300 port.
Cleanup a bit.
1995-06-21 03:06:33 +00:00
briggs 7542473d6d Clean up I/O base settings a bit. 1995-06-21 03:03:13 +00:00
briggs 697011742c Add some debugging (conditional on DEBUG). Add a more correct probe for
internal video.  Clean up nubusprint() a bit.
1995-06-21 02:59:08 +00:00
briggs e4ff96e47c Make NUBUS_BASE_TO_SLOT and reverse not depend on VA==PA for NuBus.
Add constant for DRSW_FARALLON.
1995-06-21 02:57:19 +00:00
briggs 6ff2537ad3 Make no assumptions about the absolute address of nubus cards. 1995-06-21 02:52:09 +00:00
briggs cb00a78de3 Treat 0 as a failure case for ae_id_card() and take out
null-op check for a 0 addrlist in init.
1995-06-21 02:50:22 +00:00
briggs f462aa095a Be a bit more careful on the probe... Make sure that the current slot's
addresses contain the int_video_start--or assume that internal video is
is "slot" 0xE.
1995-06-21 02:48:00 +00:00
briggs 1eec6bfc33 Add pmap_bootstrap.c and take out mac68k_init.c. 1995-06-21 02:43:19 +00:00
jtc 55fbbc705d Wrap with #ifndef _XXX_FLOAT_H_/#define _XXX_FLOAT_H_/ ... /#endif. 1995-06-20 20:45:22 +00:00
briggs 67bfc330f1 Fix a typo that's gone unnoticed for a long time. Noticed by Brian
Gaeke (brg@dgate.org).
1995-06-20 05:13:19 +00:00
briggs caa1421dd6 Add FPSP back. 1995-06-19 03:55:15 +00:00
briggs 6f06373e06 Take out M68040, add a more specific swap and add vnd. 1995-06-19 03:53:58 +00:00
briggs fec7ba6562 Rearrange slightly. 1995-06-16 04:45:22 +00:00
briggs d37674426a "Always compile before you commit." 1995-06-09 02:19:47 +00:00
briggs 90caf013ba In the interrupt routine, bail out if we've not been initialized, yet. 1995-06-08 12:52:02 +00:00
briggs 0b3271404c Make genassym depend on its C source. 1995-05-31 00:09:55 +00:00
briggs 81712d5ba7 Make a diagnostic message DIAGNOSTIC. 1995-05-25 11:48:06 +00:00
briggs 0521ad83a0 Make comment fit reality. 1995-05-17 00:45:55 +00:00
briggs 2b47f281fe Some cleanup. 1995-05-17 00:37:33 +00:00
briggs 94ce6105d2 Add configuration for my gateway machine. 1995-05-17 00:33:59 +00:00
briggs a43ca9e742 Nuke cpu_exec and remove extra semicolon on cpu_swapout() panic string
(preparing for more changes in a bit...)
1995-05-17 00:30:16 +00:00
briggs fd807928aa Add a memcpy entry point as at least a temp fix for compiling with a
recent gcc2 snapshot.
1995-05-17 00:28:14 +00:00
briggs 6201783f37 Set A2 to PS_STRINGS in setregs(). 1995-05-17 00:00:42 +00:00
briggs 725cb78165 Actually probe for 881 vs. 882. Also add a case for 040, although it's
really lip-service at the moment.
1995-05-10 03:19:00 +00:00
briggs 56b5c26854 Get rid of a printf() that got left behind in the probe. 1995-05-06 18:44:48 +00:00
briggs c4cb3e244c Probe this like the other devices. 1995-05-06 18:33:19 +00:00
briggs 331e2bd82b Add some code/defines to differentiate Asante and Interlan/Gator cards
correctly with the new nubus code.
1995-05-05 05:40:13 +00:00
cgd 8703076975 define BROKEN_SWAP and/or cpu_swapout as appropriate. 1995-05-05 03:41:51 +00:00
briggs 34e5f975f9 Don't set mrg vectors if we're using the serial console--this allows
machines w/ non-working desktop bus to actually get on with booting.
1995-04-30 17:01:06 +00:00
briggs 59b4da2b39 Add new nubus handling that's much more robust.
Update via, if_ae, and grf accordingly.
Revamp grf.
1995-04-29 20:23:36 +00:00
cgd 0e59975fac rename files files for new config/config.old naming 1995-04-28 08:19:12 +00:00
christos 843a2a3539 Use new files.sunos 1995-04-27 12:08:54 +00:00
briggs a2bc99d6f1 Make these compile again. 1995-04-23 00:37:23 +00:00
christos 545f388282 Removed sunos_machdep.c 1995-04-22 23:40:24 +00:00
christos 94289bf2b0 Move sunos_machdep.c to m68k 1995-04-22 23:39:02 +00:00
christos c5f01c2a4c Fixed comparison in SYS__syscall to be against sysent instead of
p->p_emul->e_sysent [Thanks Charles for pointing this out].
I think that this code needs to be fixed anyway for emulations where
SYS_syscall is not the same number as the NetBSD one (0)... (Only the
alpha port so far?)
1995-04-22 20:49:06 +00:00
christos de42a28a1b - added sunos_machdep.c for sun3, atari, amiga and mac68k.
- changed machdep.c and trap.c to use struct emul.
- remove ep_setup references.
- added struct emul to all emulations.
1995-04-22 20:24:40 +00:00
briggs 74b3f483db Define DELAY. 1995-04-22 13:17:51 +00:00
briggs a992a8136c Add some multicast byteorder-related changes from djh@mulga.cs.mu.OZ.AU. 1995-04-22 12:08:12 +00:00
briggs dda57ad059 Use vfs_shutdown(). 1995-04-22 11:53:40 +00:00
briggs 9e1f939930 Get rid of old file from hp300 origins!? 1995-04-21 11:35:15 +00:00
briggs 5982b968a9 Enable nubus interrupts after registering. 1995-04-21 04:01:27 +00:00
briggs 7063b53b26 Separate nubus interrupt registry and enablement. 1995-04-21 04:00:55 +00:00
briggs 6bc53a2398 Handle grf_softc in the config.new manner.
Should have been done long ago.
1995-04-21 03:44:13 +00:00
briggs 13efb6c197 First pass of KNFication. Needs more. 1995-04-21 02:47:35 +00:00
briggs 85025d789c Prototype iteopen correctly (oversight from a while back...). 1995-04-20 15:46:56 +00:00
briggs a6ba5f8f7e Update to use softc better and handle mainbus being indirect. 1995-04-20 15:32:01 +00:00
briggs 8288b9238d Make mainbus an indirect device--needs more work, but it does function. 1995-04-20 15:31:23 +00:00
briggs 64bd3f0995 Move to ptytty
Nuke the grf's reset space holder.
1995-04-20 15:30:22 +00:00
briggs df693904cd include mi scsi files file.
Change several devices from needs-count to needs-flag.
1995-04-20 15:28:54 +00:00
briggs 4137a8ff57 Add itetty(). 1995-04-20 15:27:43 +00:00
briggs a7f44caf1b Add a sertty() and update to use ser_softc instead of a bunch of arrays
everywhere.
1995-04-20 15:27:12 +00:00
briggs 1286501d43 Grab the sun3 cpu_coredump(). 1995-04-20 15:25:41 +00:00
briggs 7345c91d2e 'twould help to unmount the filesystems, wouldn't it? 1995-04-19 14:01:58 +00:00
briggs bf68945da5 Define struct ae_ring which is necessary because BYTE_ORDER == BIG_ENDIAN,
but the card is in x86 byte order mode because NuBUS does the swap "for us"
on 16- and 32-bit transfers.  We should probably figure some way to use
the std struct ed_ring if/when all the 8390 drivers are all fully merged.
1995-04-19 04:46:06 +00:00
briggs 2b1a13ab2f Initialize totlen in ae_put. Thanks to chopps for pointing it out!
Also, switch back from using struct ed_ring to using struct ae_ring
because BYTE_ORDER == BIG_ENDIAN, but the card is in x86 byte order
mode because NuBUS does the swap "for us" on 16- and 32-bit transfers.
We should probably figure some way to use the std ed_ring if/when
all the 8390 drivers are all fully merged.
1995-04-19 04:43:36 +00:00
jtc 4d37095e31 Fix typo: ieefp.h -> ieeefp.h. 1995-04-16 16:47:03 +00:00
briggs 38cb076019 Get this working. Mainly, don't always round to word transfers on
receive.
1995-04-16 00:14:54 +00:00
briggs f93fa3c440 Update interrupts to use (void *client_data) instead of (int unit) as
parameter to interrupt function.
1995-04-13 04:04:58 +00:00
briggs c9e2e6e2a8 Update to use dev/ic/dp8390.h. Mostly from mycroft.
Still get extra data on either transmit or recieve, but want to
checkpoint this work.
1995-04-13 03:58:18 +00:00
briggs 2bc91b9c2c Almost working synch with if_ed.c. Much by mycroft. Fixups by me.
Inserts garbage characters--this driver isn't ready for use quite yet.
1995-04-12 15:01:14 +00:00
briggs 9554285cb6 Fixup from last changes.
Remove clock device.
1995-04-12 14:59:19 +00:00
briggs 13dc6a7a07 Make nubus indirect. Duh. 1995-04-12 14:57:40 +00:00
briggs 09ba51f21e Fix typo from last changes. 1995-04-12 14:55:45 +00:00
mellon df78dbb096 Reference cninit.c as well as cons.c 1995-04-11 09:52:11 +00:00
mycroft 7114c30418 Use global 8530 defs. 1995-04-11 03:00:38 +00:00
mycroft e25c1817cf kernel_pmap --> pmap_kernel() 1995-04-10 13:08:28 +00:00
briggs a15027bd11 Remove old comment. 1995-04-10 13:01:19 +00:00
briggs 769e59cd1f Remove bogus extra tape cdevsw entry.
Change adb dev init to a mouse dev init.
Remove non-existant clock device stuff.
1995-04-10 12:59:48 +00:00
mycroft 22cefc03bc Bring back pmap_kernel(), for now always inlined as a pointer to
kernel_pmap_store.
1995-04-10 12:41:29 +00:00
mycroft 127e0761c9 Add mmopen(), mmclose(), and mmmmap() where appropriate. Lock vmmap when
needed.  Make types consistent.
1995-04-10 11:54:47 +00:00
mycroft d751b03236 Minor consistency nits. 1995-04-10 10:01:40 +00:00
mycroft 8f8bccf41f Switch grfmap and grfmmap. 1995-04-10 07:56:46 +00:00
mycroft 942c5ec591 Map vnd device from chr to blk. 1995-04-10 07:54:45 +00:00
briggs d5cfa2c98f Synchronize with latest changes to hp300 conf.c and give dummy mem
open/close/map routines (map is dummy for now, but should be implemented
when I'm more awake).
1995-04-10 05:57:40 +00:00
mycroft e957423a98 Move fp_except and fp_rnd definitions to machine/include. 1995-04-09 21:31:58 +00:00
briggs c17558aa9b Fixup types of a few functions to match if.h structure. 1995-04-08 20:55:26 +00:00
briggs 426b77c9eb Put in a dummy PostEvent trap and enable ADB interrupts for IIci. From
Paul Goyette (paul@pgoyette.bdt.com).
I went ahead and removed the conditional around setting the ADB interrupt
enable.  I don't expect Apple will have changed this on any other models
as it's the same on all documented models.
1995-04-08 20:46:23 +00:00
briggs 7e4d7125a3 Back to previous version of the serial driver until we can figure out
why the new one gets a lot of overflows and doesn't work on the IIsi
or IIvx at all.
1995-04-08 13:20:52 +00:00
briggs 870235352d Print a diagnostic if we do hit the watchdog and recover w/o resetting. 1995-04-08 13:17:55 +00:00
briggs 8ca9890ea2 Actually set the vectors for RBV as well as VIA2.
Don't go to spl4 when we have an ADB interrupt.
Turn off video interrupts on the SE/30.
1995-04-08 13:16:33 +00:00
briggs 10fc499f8c Nuke FPCOPROC and add fpu device driver and FPU_EMULATE from sun3.
Still need to figure out how to handle this w/ FPSP on 68040's but
since we're not really using the 68040 yet...
1995-03-29 07:38:34 +00:00
briggs 7a557178ba Get rid of some BARFs and assign some semi-reasonable spl()s... 1995-03-29 07:35:35 +00:00
briggs 9fca93fa60 Nuke FPCOPROC and add FPU_EMULATE to GENERIC.
Support the above with gwr's sun3 stuff.
1995-03-29 07:28:48 +00:00
briggs 4c88a6a961 Don't MRG_TEST the tracing if MRG_TRACE isn't defined. From
Paul Goyette (paul@pgoyette.bdt.com).
1995-03-26 18:10:23 +00:00
briggs 625d11a739 sun3 fixes for COMPAT_SUNOS. 1995-03-26 15:53:36 +00:00
briggs 9d7efb1fb0 Do iteon() and iteoff(). Right now, they just clear/draw the cursor and
clear the screen.  "We" should look at updating these further.
1995-03-26 15:52:21 +00:00
cgd fa2133533d invoke ktrsyscall with (vp, code, argsize, args) as args. 1995-03-26 08:03:29 +00:00
briggs 5a8670a41a add_nubus_intr takes int (*)(), not void (*)().
Fix slot interrupts more.
1995-03-25 22:30:39 +00:00
briggs bc14b5cbcc Don't count video interrupts. 1995-03-25 22:28:30 +00:00
briggs bb035dee62 KERNEL -> _KERNEL 1995-03-23 20:19:16 +00:00
jtc d57fb977bb Added -D_KERNEL to CFLAGS alongside each -DKERNEL. 1995-03-23 19:46:18 +00:00
briggs 50e913cf92 Handle VIA2 (RBV?) better. Speed up interrupt processing (which had a
negative impact on the ethernet timeouts).  This is still not correct,
but I am unsure what is correct.  We can, apparently, get a nubus
interrupt without any slots showing an interrupt condition.  Ick.  This
does not always happen before we apparently lose an interrupt, either
(see last (chronological) log message for if_ae.c).
Someone with a fresh set of eyes should probably look at this, but it's
cobbled together to (mostly) work.
1995-03-23 14:16:38 +00:00
briggs 24787aea0e Add macvideo_intr to handle video interrupts. Currently has behavior
that was previously in slot_noint().
1995-03-23 13:45:07 +00:00
briggs 129893572f Serious kludge around network timeouts. Network timeouts seem to be
caused by the VIA missing the ethernet slot interrupt.  If we get a
watchdog, try calling the via's nubus interrupt function.  If that
causes an interrupt, don't reset anything.  If it doesn't, use old
behavior (log timeout and reset).

Yuck.
1995-03-23 13:00:05 +00:00
briggs 8b2f3e8f69 Modify handling of via2 interrupts. Ethernet is much more reliable
for me, now (one problem down, anyway).
1995-03-20 05:59:42 +00:00
cgd b8403d582b don't be so quick to cast macro arguments to unsigned; if the
arguments are really off_t's (e.g. to btodb), then you can lose
information.  This was the "> 4G file systems don't work" bug; physio
uses btodb, which was broken.
1995-03-18 07:22:43 +00:00
briggs a6f94aae0e Let's do leave the RAW_PART alone... 1995-03-17 03:40:41 +00:00
briggs 5b07b9403e Nuke NEWCONFIG. It's not used anymore at all. 1995-03-11 13:56:36 +00:00
briggs 999ff6a003 Use M68030 and M68040 instead of MC... Thanks to Luke Mewburn for
pointing out this inconsistency.
1995-03-11 13:55:03 +00:00
mycroft dc3d752c6c Fix last arg to scdebug_ret(). 1995-03-09 08:59:45 +00:00
mycroft db7371a9b7 Fix some types:
* code, args, and rval should use register_t.
* argsize should be a size_t.
Undo some of the differences between this syscall() and the hp300 version.
1995-03-09 07:57:42 +00:00
briggs 9940bbf358 Clean up via.c a good bit--still needs more. Get rid of some timing stuff
that we aren't using at all anymore.
1995-03-01 03:48:44 +00:00
briggs 50721bd46f Raise watchdog timer a tad. 1995-03-01 03:47:08 +00:00
mycroft 4c34be6b52 Clean up deleted files. 1995-03-01 00:00:00 +00:00
briggs 52c429f919 Clean up via.c a bit. Still needs lots of work. 1995-02-22 01:42:43 +00:00
briggs ada7451e87 Fix copyright, add CVS version, and cleanup comments. 1995-02-16 00:02:12 +00:00
briggs 9f5abcb930 Add support from Erik Vogan for reading and writing PRAM. Don't enable
writing yet, though.
1995-02-15 23:55:51 +00:00
briggs ede2edbeb6 Update to add pramasm.s. 1995-02-15 23:54:56 +00:00
briggs 347304eb41 Many changes and updates from Dave Leonard (d@fnarg.net.au) and
Brad Parker (brad@fcr.com).  I've been sitting on these for a while.
Notes from Dave:
  redocumented z8530 stuff.
  Added break ioctls and detection.
  Pass framing/parity errors to line discipline.
  Added TIOC[SG]FLAG.
  Attempt at bringing all chip ops together.
  deepended s/w fifos to match chip's.
1995-02-11 19:06:57 +00:00
briggs cce0e858f9 Trim the interrupt counter space some and add _eintrnames and _eintrcnt
for vmstat.
1995-02-08 04:06:48 +00:00
briggs ff26dc4f91 Add major for vnd. 1995-02-05 06:13:52 +00:00
briggs 58f54fd9c6 Clean up cdev for vnd. 1995-02-05 04:57:06 +00:00
briggs 7190ebb7e0 Set sc_link->openings.
Simplification of scsi_cmd from pc532 mods to this driver.
1995-02-01 13:50:42 +00:00
briggs 5f2f921a78 Yank current sendsig, sunos_sendsig, sigreturn, sunos_sigreturn from amiga.
Don't dump regs/mem on debugger switch.
Cleanup dumpmem() a bit.
1995-02-01 13:48:45 +00:00
briggs 591bb531bd Fixup sc_debug parameters.
Simplify indexing into systab a hair (from Amiga).
1995-02-01 13:46:23 +00:00
briggs 559641938a Pull Amiga implementation of pagemove(). Seems mo' better. 1995-02-01 13:44:31 +00:00
briggs cbaa686772 Explicity return error value in findblkmajor(). 1995-02-01 13:40:59 +00:00
mycroft 3863b50c5c Clean up deleted files. 1995-02-01 13:40:11 +00:00
briggs 28fbb7d0dd Add a new config and remove some old ones. 1995-02-01 13:40:10 +00:00
briggs c3d9bdcf9d Align sigcode. 1995-02-01 04:49:37 +00:00
cgd b56a5f27d4 add 'maxpartitions' keyword as first 'intesting' thing in the file, to
facilitate the solution of config.new's hardcoded partition number
problems.
1995-01-25 20:45:33 +00:00
cgd 2ef4ca1f3d vn -> vnd renaming, for consistency 1995-01-25 04:48:07 +00:00
briggs c7b2ca3cf3 Add a nullcnpollc() to our constab initializor so we don't get jump to
zero panics when attempting to enter the debugger.
1995-01-21 05:31:17 +00:00
briggs 0379ca918b Fix major brain damage from a while back. Old damage broke jump to zero
panic, leading to mass confusion.
1995-01-21 05:21:24 +00:00
briggs cf017d6caf sunos_sysent.c -> sunos_init_sysent.c and add a few tabs for
readability.
1995-01-21 00:14:11 +00:00
briggs e2eea24235 %s/sun_/sunos_/g and grab a few comments from amiga trap.c. 1995-01-21 00:12:56 +00:00
briggs 572ad11ab2 Fixup for COMPAT_SUNOS. sun_ -> sunos_ and much from amiga folks. 1995-01-21 00:11:57 +00:00
jtc 9540190d45 This file, which will be included by <sys/cdefs.h>, will contain macros
such as __warn_references() and __weak_reference() which are actually
machine dependant.  This will make it easier for ports that are being
bootstraped with ELF and ECOFF based toolchains.

This change also introduces a new macro, _C_LABEL(x).  _C_LABEL expands
its argument, an identifier, to a character string of the identifier
name as it is represented in an object file.

For most ports, _C_LABEL(x) will expand to "_x", for ELF based ports
_C_LABEL(x) will expand to "x".
1995-01-19 01:38:36 +00:00
briggs 73c9e168bf Fix minor compile warning. 1995-01-15 06:29:04 +00:00
briggs ee0ad992ea scsibus_data -> scsibus_softc in device search. 1995-01-15 06:28:36 +00:00
briggs bc36ccab9a Update for scsi changes. Incl. xs->resid = 0 (thanks Phil).
Changes compile, but are not tested.
1995-01-15 06:27:54 +00:00
briggs a267ba6dc0 Add tun device at cdevsw[24], one up from hp300 location, but we already
have adb at 23.
1994-12-22 05:50:26 +00:00
cgd e5049f4d59 make the definition of _JBLEN mach. dep. header-dependent. 1994-12-20 10:36:27 +00:00
mycroft d42a8b725e Remove extra arg to d_open. 1994-12-14 19:10:08 +00:00
briggs 749ca327c9 Nuke Log in if_aereg.h and remove duplicate (and benign) sc->smem_size
assignment from Brad Parker (brad@fcr.com).
1994-12-04 19:40:14 +00:00
briggs 1c47e24828 Mac ROM Glue changes from grantham@tenon.com. 1994-12-03 23:33:55 +00:00
briggs f2301680d3 Same as GENERIC but w/o FPCOPROC option. 1994-12-03 23:31:58 +00:00
briggs d703fa05aa At least somewhat functional ethernet driver from Brad Parker
(brad@fcr.com).  Requires changes to via.c which are coming with
other changes in a moment...
1994-12-03 23:30:45 +00:00
briggs bce9e69ed0 Handle supervisor/user data differently. Status of functionality
still nil.
1994-12-03 23:28:37 +00:00
briggs fae5b57ec7 int -> u_long in ioctl() prototype. 1994-12-03 23:27:40 +00:00
briggs 4e06addf8a Nuke DEBUG. 1994-12-03 23:26:25 +00:00
mycroft dadc0f95cf Clean up deleted files. 1994-12-03 14:45:42 +00:00
briggs 2bef12a661 Get rid of private delay(). 1994-12-03 14:17:20 +00:00
briggs 037951ec4f Remove private delay() and clean up some odd delay times that we were
using...
1994-12-03 14:16:58 +00:00
briggs f04205a867 Implement a real delay() that at least approximates a usec delay. 1994-12-03 14:03:23 +00:00
briggs c8d7d0f2f5 Re-arrange order of a comparison and compensate for change in device
structure locations.
1994-11-30 02:42:47 +00:00
briggs e054795fb3 "../scsi/*.h" -> <scsi/*.h> 1994-11-29 03:43:52 +00:00
briggs 81828a6a38 Boolean goof. (True) 1994-11-29 03:38:48 +00:00
briggs a9262a3090 SUN_SYS_sigreturn -> SUNOS_SYS_sigreturn 1994-11-29 03:37:37 +00:00
briggs c02010b599 Add a dk_establish null routine. Clean up some whitespace. Needs a
real overhaul.
1994-11-28 04:43:51 +00:00
briggs 9f994613ae compat/sunos/sun_* -> compat/sunos/sunos_* 1994-11-27 22:10:28 +00:00
briggs 82a9bf633f sun_syscall.h -> sunos_syscall.h 1994-11-27 21:47:36 +00:00
briggs 3938bad3ff Attempt to use sys/scsi. 1994-11-27 20:07:38 +00:00
briggs 0656455667 Experimental method of getting a scsi unit # from scsi target. 1994-11-27 19:59:09 +00:00
briggs 38952df227 Re-enable NFSCLIENT 1994-11-27 19:53:10 +00:00
christos 40abc70ce2 changed open prototype 1994-11-14 05:55:23 +00:00
briggs 492011ffd7 Modify the serial port initialization slightly so it works on the IIsi. 1994-11-03 16:15:27 +00:00
briggs fc3961284c Raise MCLBYTES to 2048. 1994-11-01 03:53:28 +00:00
briggs 6db067c176 sendsig() and sun_sendsig() code to u_long. 1994-10-31 23:47:23 +00:00
briggs 65c76f071d Fixup a couple of missed fixes when updating to hp300/amiga
interpretation of mmutype.  Thanks to Lawrence Kesteloot for
catching the first of these.
1994-10-31 01:15:53 +00:00
briggs 815a0b9aca Fix a buglet in computation of fbsize. Pointed out by monroe@cs.pdx.edu. 1994-10-30 13:34:31 +00:00
briggs c184327c57 Make this work. Kludge from grantham. 1994-10-28 19:55:37 +00:00
briggs a43a6e9bdf Use u_int32_t and friends. Comment a tiny bit... 1994-10-26 18:05:48 +00:00
cgd 4fdae7a0ae new RCS ID format. 1994-10-26 08:45:48 +00:00