thorpej
df1dcf81d0
Oops, missed one.
1997-09-02 19:18:20 +00:00
thorpej
cc5eaab25b
More garbage-collection.
1997-09-02 19:16:32 +00:00
thorpej
b2a8424bb5
Garbage-collect loadustp(); the functionality has moved to pmap.old.c
1997-09-02 19:07:22 +00:00
thorpej
2c5c631b71
- Make the pmap_activate() and pmap_deactivate() interfaces consistent my
...
passing them a proc *, which encapsulates all of the information necessary
to activate an address space.
- Garbage-collect pmap->pm_stchanged; it's not really used for anything.
1997-09-02 19:06:13 +00:00
thorpej
bf232f7a37
Make the pmap_activate() and pmap_deactivate() interfaces consistent my
...
passing them a proc *, which encapsulates all of the information necessary
to activate an address space.
1997-09-02 19:04:57 +00:00
thorpej
a47a8a25d6
Adjust for an interface change in a not-NEW_PMAP case in cpu_fork().
1997-09-02 19:03:58 +00:00
thorpej
f1373b949c
- Make the pmap_activate() and pmap_deactivate() interfaces consistent my
...
passing them a proc *, which encapsulates all of the information necessary
to activate an address space.
- Garbage-collect pmap->pm_stchanged; it's not really used for anything.
1997-09-02 19:00:53 +00:00
thorpej
5042993a22
- Make the pmap_activate() and pmap_deactivate() interfaces consistent my
...
passing them a proc *, which encapsulates all of the information necessary
to activate an address space.
- Clean up some debugging code.
1997-09-02 18:59:02 +00:00
thorpej
364d6a31a7
Adjust some NEW_PMAP code for a slight interface change.
1997-09-02 18:54:28 +00:00
thorpej
511e46c568
Clean up the context switching code a bit:
...
- Marco-ize the 3 instructions that actually switch to the new process
context.
- Unify (except for the pmap_deactivate() call) the NEW_PMAP and not-NEW_PMAP
versions of cpu_switch(), and clean up some comments.
- Tidy up the not-NEW_PMAP bits of switch_exit().
1997-09-02 18:53:26 +00:00
thorpej
d316987784
Garbage-collect VM_PMAP_STPTE, USTP_OFFSET, VM_PMAP. Define VM_MAP_PMAP
...
instead.
1997-09-02 18:48:58 +00:00
gwr
bc5b441687
Make the new files (nfs_boot*) conditional on nfs & ether
1997-09-02 17:22:47 +00:00
thorpej
b7b3955ce0
Fix a typo: ALPHA_PTE_WRITE needs to include the "user write" bit.
1997-09-02 14:29:37 +00:00
thorpej
6caf625430
Note that a2 and a3 contain bootinfo information passed from the boot
...
program to alpha_init().
1997-09-02 14:29:00 +00:00
thorpej
d95ac139e0
Oops, wrap cpu_decl()s inside #ifdef _KERNEL/#endif.
1997-09-02 14:25:34 +00:00
thorpej
8b6e894364
Clean this up a bit; defopt has rendered the #undef hacks unnecessary.
...
Also, put the cpu_decl()s in cpuconf.h, so that platform support files
can pull in the prototypes from there, and pull in options for those
systems for which there is code in the source tree.
1997-09-02 14:19:29 +00:00
thorpej
b7c1c1e321
Pull in alpha/cpuconf.c
1997-09-02 14:06:02 +00:00
thorpej
5c72d6a933
Garbage-collect.
1997-09-02 14:03:10 +00:00
thorpej
e79009b830
Ressurect from the Attic.
1997-09-02 14:00:11 +00:00
thorpej
9db8b6018f
Make a note about option headers.
1997-09-02 13:42:49 +00:00
thorpej
1df0782d87
Pull in DEC_3000_300 and DEC_3000_500 options.
1997-09-02 13:29:17 +00:00
thorpej
a4cef84ac7
Pull in DEC_3000_300 option.
1997-09-02 13:26:42 +00:00
thorpej
529d790161
Pull in DEC_AXPPCI_33 option.
1997-09-02 13:25:36 +00:00
thorpej
cb32cf1ece
Pull in DEC_EB164 and DEC_KN20AA options.
1997-09-02 13:24:48 +00:00
thorpej
b57ee951d0
Pull in DEC_2100_A50 and DEC_EB64PLUS options.
1997-09-02 13:23:56 +00:00
thorpej
49a2bcd443
Pull in FIX_UNALIGNED_VAX_FP option.
1997-09-02 13:22:53 +00:00
thorpej
693b3e7262
Nuke the idea of <machine/options.h>. It completely defeats the purpose
...
of fine-grain option dependencies.
1997-09-02 13:17:47 +00:00
thorpej
e234ed15b6
Fix oversight in a previous commit.
1997-09-02 12:54:27 +00:00
thorpej
375ad27ed8
- Garbage-collect all DMA-related initialization, calling a separate
...
*_dma_init() function instead.
- Pass the appropriate bus dma tag to children.
1997-09-02 12:51:20 +00:00
thorpej
3ac7ac6e63
Garbage-collect.
1997-09-02 12:43:22 +00:00
thorpej
aa7a2876e6
Treat bus space tags more like pci chipset tags and bus dma tags: allocate
...
them statically within a chipset's state structure, and pass them to
the *_bus_{io,mem}_init() functions.
1997-09-02 12:40:18 +00:00
leo
225274f8b4
Add BUS_SPACE_MAP_* macro's.
1997-09-02 11:19:02 +00:00
thorpej
fd01db8b74
Use more complete #include directives when pulling in the chipdep
...
functions.
1997-09-02 11:09:51 +00:00
thorpej
9199b6645b
Clean up RCS IDs.
1997-09-02 10:56:52 +00:00
thorpej
d450130943
Adjust for new names for the PCI i/o and mem swizzle-style access
...
function files.
1997-09-02 10:43:27 +00:00
thorpej
8f286ca7f3
Renamed to pci_swiz_bus_{io,mem}_chipdep.c by repository copy.
1997-09-02 10:39:15 +00:00
thorpej
8998fa1198
Revive these files from the Attic.
1997-09-02 10:26:55 +00:00
thorpej
3d28be8e20
Pull "sm" driver declaration down from marc-pcmcia branch.
1997-09-02 01:50:32 +00:00
mikel
06ecebc8c0
add missing argument to LPRINTF() declaration; from Geoff Wing in PR 4072.
...
I also made inclusion of LPRINTF() dependent solely on the symbol
LPTDEBUG, initialized lptdebug variable to 0 instead of 1, and
matched arguments to format strings in LPRINTF() calls.
1997-09-02 01:37:19 +00:00
thorpej
e531f18c8b
Pull the SMC91Cxx single-chip Ethernet driver core down from the marc-pcmcia
...
branch. It is also needed by and ISA front-end.
1997-09-02 00:10:55 +00:00
jonathan
f6914cd0c8
Remove '#ifdef alpha' around bus_space_tag_t uses and includes.
1997-09-01 08:09:28 +00:00
jonathan
034f64c0da
Set fixtick to (1000000 % hz) when NTP is configured.
1997-09-01 08:05:05 +00:00
pk
240f9f0804
Bring db_{read,write}_bytes() prototypes in scope.
...
Move Debugger() within `#ifdef DDB'
1997-09-01 00:16:31 +00:00
pk
d4afe94f7c
Finish work-around for the re-select bug on ESP100s by dealing with
...
"illegal command" interrupt apparently caused by writing to the chip
while a re-selection is in progress.
1997-08-31 23:09:58 +00:00
pk
7d7a8e5773
Switch to MI kgdb code.
1997-08-31 21:29:16 +00:00
pk
84877e89f6
Allow a BREAK to cause a kgdb_connect().
1997-08-31 21:26:37 +00:00
pk
7950e785f9
Switch to MI kgdb code.
1997-08-31 21:22:44 +00:00
pk
2b1e7bab51
pmap_writetext(): use context 0.
1997-08-31 21:08:03 +00:00
is
7a5cd3368f
We may not open the 'a' partition here, as there are Amiga partition tables
...
without an 'a' partition. We open the RAW_PART partition instead.
Without this, a boot partition on the 'b' or later partition of such a disk
won't be found.
1997-08-31 16:33:13 +00:00
scottr
59d6043196
Do run-time determination whether to save the TC value for AV
...
Macs; this way at least those models can configure intvid0.
From Dave Huang.
1997-08-30 22:29:10 +00:00
augustss
420b75952f
Insert a sanity check so we get a panic instead of a kernel page
...
fault if the DMA map is missing.
1997-08-30 17:33:49 +00:00
augustss
7886f60e81
Make SB full duplex. Ooops, I forgot this in the last commit.
1997-08-30 10:45:32 +00:00
mycroft
8c578dc960
Pass down bus_dma_tag_t's as appropriate (per Jason's bus_dma code).
1997-08-30 06:53:57 +00:00
mycroft
d4b3029855
Set the I/O and memory enable flags for the main PCI bus.
1997-08-30 06:52:55 +00:00
mycroft
73e975d161
Pass the I/O and memory enable flags through the bridge.
1997-08-30 06:51:07 +00:00
mycroft
f77eaf96e2
Pull in new file.
1997-08-30 06:48:57 +00:00
mycroft
aae78d29c3
Don't export pci_*_find() any more.
1997-08-30 06:48:24 +00:00
mycroft
e2bb22033b
Remove pci_*_find() from here.
1997-08-30 06:47:44 +00:00
mycroft
5da739c6b8
* Rewrite pci_io_find() and pci_mem_find() using my original pci_map_io() and
...
pci_map_mem(), with appropriate changes for bus_space.
* Add extra arguments for use by pci_mapreg_*(), and make the functions
static.
* Rewrite pci_mapreg_info() and pci_mapreg_map() as wrappers around
pci_*_find(), using the documented interface.
1997-08-30 06:46:58 +00:00
jonathan
5342b11519
Replace copyright notice.
1997-08-30 01:51:02 +00:00
thorpej
3220411801
Define PAL_cflush, PAL_ipir, and PAL_OSF1_wrperfmon PALcode operations.
1997-08-29 23:17:37 +00:00
augustss
e72ff15736
Substantial rewrite of the SB driver to make it do full duplex on an SB16.
...
Because of the braindead design of the SB the input and output have to
use different precisions (8 and 16 bits). It is possible to set the driver
to use 8 bits on both and it will the emulate 8 bits on the output by
expanding it to 16 bits.
1997-08-29 21:41:36 +00:00
leo
42c4123e4d
Define 2 md devices.
1997-08-29 19:52:08 +00:00
leo
16bdafc3a5
Pull in Scott Reynolds' version of _splraise(). Also do a bit of typographic
...
cleanup while visting this file.
1997-08-29 19:47:52 +00:00
thorpej
417cce7c06
Fix typo(?) in dlmiss handler ("store" bit erronenously set). From
...
Kazuki Sakamoto <sakamoto@cec.co.jp>, PR #3583 .
1997-08-29 19:11:07 +00:00
gwr
2d672c5c0e
Add: nfs_bootdhcp.c nfs_bootparam.c
1997-08-29 16:29:21 +00:00
gwr
2f81e6c9c1
Supporting changes for the new BOOTP support in nfs_mountroot.
1997-08-29 16:12:49 +00:00
gwr
79c1e7ca6b
Add support for nfs_mountroot using BOOTP based on the contributions
...
of Tor Egge (closes PR kern/2351).
1997-08-29 16:10:31 +00:00
gwr
78e695f5b3
Support for RARP,RPC/bootparam moved from nfs_boot.c to here.
1997-08-29 16:07:46 +00:00
gwr
e25a1c17c1
The nfs_boot_xxx functions are declared in nfsdiskless.h
...
so remove the duplicate declarations here.
1997-08-29 16:06:41 +00:00
gwr
c74236bfc9
Tweaks to allow operation with an interface address of 0.0.0.0
...
(needed for NFS mountroot using BOOTP to get boot parameters)
1997-08-29 16:02:41 +00:00
thorpej
ff970dc9c5
Garbage-collect.
1997-08-29 00:57:54 +00:00
thorpej
0eee106cc2
Bring changes from marc-pcmcia branch down to the trunk.
1997-08-29 00:57:28 +00:00
thorpej
fc8c3e00e0
Bring changes from marc-pcmcia branch down to the trunk.
1997-08-29 00:47:18 +00:00
bouyer
87219fa0e6
Added a quirk entry for the SANYO CRD-254P (from OpenBSD), and
...
one for the MATSHITA CR-574 (from Josef Wulf <wulf@ping.net.au> via OpenBSD).
1997-08-28 14:02:31 +00:00
bouyer
9f3695bff9
Change an ATAPI_DEBUG2->ATAPI_DEBUG. This debug message is needed when
...
looking what's the autoconfig do on strange harware, and ATAPI_DEBUG2 is
for debuging data transfers (and is really verbose once the machine has booted
from an IDE disk).
1997-08-28 11:05:01 +00:00
mikel
4058521515
add KMEMSTATS and sync GENERIC, INSTALL, and DISKLESS
1997-08-28 08:00:12 +00:00
thorpej
22880d02f4
Regen: added SMC83C170 entry.
1997-08-28 00:24:23 +00:00
thorpej
b7a3500cd3
Add an entry for the SMC 83C170 "EPIC/100" Fast Ethernet chip.
1997-08-28 00:12:44 +00:00
augustss
5752a55af4
Zap drq2 if unused.
1997-08-28 00:02:12 +00:00
augustss
a79408b6c7
Change match routine to use "audio" as the ROM name.
1997-08-27 22:42:23 +00:00
augustss
c58d387b0f
Fix prototype for amd7930_set_params.
1997-08-27 22:33:59 +00:00
is
e7c8f94f9d
Yet another BROKEN removed, and another small cleanup.
1997-08-27 20:41:30 +00:00
is
1dc1561ebc
Rename the _probe function to _match, and remove the
...
#ifdef _BROKEN_INDIRECT_CONFIG which we dont need here.
Thanks to Bernd Ernesti for pointing this out.
1997-08-27 20:35:46 +00:00
is
2f824e16e8
Oops, forgot this in last kilocommit:
...
Attach com at drsupio, drsupio at mainbus, and make
the ttyC0 stuff refer to the com driver.
1997-08-27 20:18:19 +00:00
is
0564e80e3e
This is no longer needed.
1997-08-27 19:37:30 +00:00
is
f7c9a70a19
Define supio, a direct bus with a single locator, the port number. This
...
is for "standard PC i/o stuff" at known and constant locations, e.g. when
multi-io chips are used on non-ISA mainboards.
Implement drsupio.c, the DraCo version of this.
Attach the generic com.c to this bus.
Remove the old drcom hack.
1997-08-27 19:32:47 +00:00
thorpej
d2a9d1970d
Don't deference a bad pointers if you try to open an audio device that's
...
not configured.
1997-08-27 18:54:28 +00:00
is
45a8ec2d22
Amiga port bus.h. Currenlty, only the _1 functions are implemented.
1997-08-27 18:52:57 +00:00
is
2e45e81622
machine/intr.h for the Amiga port. Mostly a wrapper around other includes.
1997-08-27 18:41:25 +00:00
is
47e8019573
Add __GENERIC_SOFT_INTERRUPTS implementation.
...
Currently, this is only kind of a wrapper around the *_sicallback() function
family. This way, we'll only break the new driver if it doesn't work.
After more drivers are converted, we'll change it to be the other way round.
1997-08-27 18:31:14 +00:00
is
25c05417ed
Make this work with __GENERIC_SOFT_INTERRUPTS.
1997-08-27 18:00:13 +00:00
matt
b2b8155618
Add IPPROTO_ESP and IPPROTO_AH defines.
1997-08-27 17:05:34 +00:00
bouyer
4c487f2d84
These files have been moved (repository copie) to sys/dev/scsipi.
1997-08-27 11:46:13 +00:00
bouyer
6f3bab1f59
Merge scsipi branch in the mainline. This add support for ATAPI devices
...
(currently only CD-ROM drives on i386). The sys/dev/scsipi system provides 2
busses to which devices can attach (scsibus and atapibus). This needed to
change some include files and structure names in the low level scsi drivers.
1997-08-27 11:22:52 +00:00
thorpej
a79a3ca472
Fix a reversed argument which caused procfs_checkioperm() to always return
...
"OK". Add a few comments to avoid further confusion.
1997-08-27 08:52:51 +00:00
mycroft
f31ed493f7
Fix a mbuf leak in sosend() when we have a negative residual count.
1997-08-27 07:10:01 +00:00
leo
c9f11609e3
According to Andre Lange, the Hades has the DTR/RTS lines exchanged on
...
the 68901 UART-port due to a PCB error. Take care of this.
1997-08-27 06:59:19 +00:00
leo
a905a75ff7
Number the slots 0&1 instead of 1&2 .
1997-08-27 06:56:14 +00:00
leo
c8c7fe38ca
Add the isa-bus.
1997-08-27 06:52:46 +00:00
leo
2ca332c7bc
Add a char entry for md and add it to the chartoblk table. This fixes
...
the problem that kernfs was unable to determine the root device while
booting from the install floppy.
1997-08-27 06:21:06 +00:00
leo
d0301b58ee
Don't enable the dma-interrupt while polling for dma to end. This sometimes
...
caused a system panic on the Hades while probing the SCSI devices.
1997-08-27 06:16:49 +00:00
mikel
a6a1f307de
sync with GENERIC 1.96, no functional change
1997-08-27 04:56:38 +00:00
mrg
66d1e506df
remove last vestigates of __FORK_BRAINDAMANGE
1997-08-27 02:35:38 +00:00
augustss
a50d4ba893
XXX Add a drq2 locator for the ISA bus. Many sound cards need
...
two DMA channels to do e.g. full-duplex. This allows
a way of specifying the second channel in a sane way.
THIS IS TEMPORARY. The drq2 locator will go away when
the locator system has been changed to allow multiple
values per locator.
1997-08-26 19:26:38 +00:00
augustss
955e1e9119
Make sure audio device starts in half-duplex mode and document the fact.
1997-08-26 19:03:55 +00:00
fvdl
a153e98871
Recognize Cyrix M2
1997-08-26 18:56:40 +00:00
fvdl
d792a4aa54
Activate SCSIVERBOSE by default.
1997-08-26 18:39:02 +00:00
thorpej
ca0bba0081
Add ICMP unreachable code #13 - "Communication Administratively Prohibited",
...
per RFC 1716. From Havard Eidnes <he@vader.runit.sintef.no>, PR #4038 .
1997-08-26 18:27:53 +00:00
thorpej
f26fad2f33
Add missing call to vndunlock(), per PR #3811 , enami tsugutomo.
1997-08-26 18:12:58 +00:00
thorpej
75a4512f7f
Notify drivers that we "prefer" I/O mapped space, per discussion with
...
Chris Demetriou and Matt Thomas, some two or three months ago. (This hint
is used by the latest "de" driver.)
1997-08-26 03:14:06 +00:00
jonathan
752582ba69
Set KERNEL_RCSID to identify previous change.
1997-08-26 02:38:47 +00:00
jonathan
6cd95f2a55
rewrite and hand-tune copy_gap16 loops:
...
* hoist code to deal with fragments of a 16-byte chunk outside
main copy loop.
* over 98% of dynamic calls are 2-byte-algnied but not 4-byte-aligned
(due to 14-byte Ether headers). kernel bcopy is poorly tune for this.
Replace bcopy() with inline code tuned to minimize accesses
to DMA buffers, which aren't uncached on mips.
Tested on 5000/240 (3MAXPLUS) and 3000/700 (sandpiper) (mjacob@feral.com )
1997-08-26 01:27:12 +00:00
thorpej
9ffe59d049
In i386_mem_add_mapping(), don't bother calling pmap_changebit() to mark a
...
device memory mapping cacheable/non-cacheable:
- PG_N doesn't exist on the 386.
- pmap_changebit() only deals with managed pages.
Basically, calling it is unnecessary, and never did anything. Pointed
out by Chuck Cranor, and further discussed with Frank van der Linden.
Also, add a comment about why we don't mark pages non-cacheable in
_bus_dmamem_map().
1997-08-25 23:02:25 +00:00
thorpej
782324102f
Use if_media to change media type, not IFF_LINK*.
1997-08-25 22:39:55 +00:00
augustss
9de64894e9
Fix the "non-broken" indirect configuration so it might actually work.
1997-08-25 22:17:25 +00:00
thorpej
38f15737fd
Protect access to kmem_map with splimp()/splx(). From Chuck Cranor.
1997-08-25 21:17:48 +00:00
kleink
66105c37fc
Lseek(2) usage cleanup: the use of L_SET/L_INCR/L_XTND is deprecated,
...
use SEEK_SET/SEEK_CUR/SEEK_END instead.
1997-08-25 19:31:43 +00:00
thorpej
b2c3b768d3
- Add RCS tags that got lost.
...
- Fix a couple of typos in PCI space configuration.
1997-08-25 19:03:44 +00:00
thorpej
9c690ec9a6
Add RCS tags that got lost.
1997-08-25 19:02:19 +00:00
thorpej
a2a13689fd
Merge with 970703 snapshot of Matt Thomas's de driver.
1997-08-25 18:56:46 +00:00
augustss
cd7e93c44d
Add mute and channels swap to the mixer capabilites.
1997-08-24 23:50:40 +00:00
augustss
9390f073ca
Increase the number of mixer devices the emulation looks at.
1997-08-24 23:31:23 +00:00
augustss
0bb9a48c65
Give names to some more mixer registers.
1997-08-24 23:24:51 +00:00
augustss
6616d47838
- Change audio_hw_if a little: set_param now sets the play and record modes
...
at the same time instead by using two different calls. This enables
it to check more easily if the combined mode is all right.
- Improve the error checking in audio.c.
- Add a new audio property, AUDIO_PROP_INDEPENDENT, show if the
play and record settings are independent.
- Fix some buglets in audio.c.
1997-08-24 22:31:23 +00:00
augustss
4d74b89725
Add trivial conversions between 8 and 16 bits.
1997-08-24 22:20:24 +00:00
augustss
785dcbd7f5
Remove indirect brokenness.
1997-08-24 20:06:34 +00:00
augustss
48d839e594
Improve error message.
1997-08-24 20:03:51 +00:00
scottr
27f30774af
Conditionalize DEBUG printf on dp8390_debug. Pointed out by Jonathan
...
Stone.
1997-08-24 15:22:28 +00:00
drochner
8188be767e
Check for KGDB port == console port in a consistent way.
1997-08-24 09:40:16 +00:00
drochner
9518da7563
Remove over-sensitive sanity check for console port == KGDB port.
1997-08-24 09:38:19 +00:00
cgd
ce0a826c55
fix various bogons: copy SCSIVERBOSE option (still commented out) and ISA lc
...
driver to ALPHA. Also, sort them into their respective lists correctly,
rather than punting completely (SCSIVERBOSE), or mis-sorting(!) (lc).
1997-08-24 06:40:18 +00:00
cgd
1173f77359
fix spaces/tabs lossage: if we're going to do "options<space><tab>", be
...
consistent about it (fix it in all files)! Also, there's no point at all
in doing "file-system<space><tab>", so kill the spaces.
1997-08-24 06:37:12 +00:00
mjacob
6ac7f6248f
add a before tab to SCSIVERBOSE
1997-08-23 19:16:06 +00:00
drochner
44224e6fd5
Adapt to serial console attachment changes.
1997-08-23 14:28:16 +00:00
drochner
350184a9b7
Remove unneeded dev/cninit.c.
1997-08-23 14:26:46 +00:00
drochner
01930ff909
Update prototype options for serial console / KGDB for new reality.
...
"option\t" -> "option \t", as wished by Bernd Ernesti.
1997-08-23 14:25:55 +00:00
drochner
dfbc80bd71
Delete unused constab[].
1997-08-23 14:22:59 +00:00
drochner
2f05375163
Use functions provided by the drivers to initialize and attach console
...
and KGDB. Make port address, speed and (7/8bit,parity,stopbits) for serial
lines configurable.
1997-08-23 14:22:03 +00:00
drochner
d09a42059f
Put all console initialization into 1 exported function (pccnattach()).
...
Delay setting of cn_tab->cn_dev until autoconfiguration attach
to get the minor number right. (not really needed, but for
consistency with pccons and serial consoles)
Comment out unused pccnprobe() and pccninit().
XXX I didn't use "#if PCVT_NETBSD > ???" anymore, nor separated from
FreeBSD. The driver is not centrally maintained anyway.
1997-08-23 14:17:46 +00:00
drochner
fe882d2810
Put all console initialization into 1 exported function (pccnattach()).
...
Delay setting of cn_tab->cn_dev until autoconfiguration attach
to get the minor number right.
Delete unused pccnprobe() and pccninit().
1997-08-23 14:10:12 +00:00
drochner
f4e17ffbfe
Use the new com_is_console() to decide if the port is already initialized.
...
XXX shouldn't the attach() use the existing handle if present???
1997-08-23 14:06:17 +00:00
drochner
7ac5d81dbd
Use the new com_is_console() to decide if the port is already initialized.
1997-08-23 14:03:54 +00:00
drochner
d36e668737
clean up the serial console / KGDB attachment:
...
-put all early console / KGDB initialization into 1 exported function
(com_*_attach()) each, dont use global variables anymore
-use the passed tcflag_t for port settings instead of hardwiring 8N1
-at autoconfiguration attach time, decide if the attaching device is
already console / KGDB by comparing bus tag and base addr (cgd's wish)
-export a function "com_is_console()" for use by driver frontends for
this comparision
-delay setting of cn_tab->cn_dev until autoconfiguration attach
to get the minor number right
-delete unused comcnprobe() and comcninit()
1997-08-23 14:01:32 +00:00
drochner
d8453956fc
regen
1997-08-23 13:45:11 +00:00
drochner
91c75e9870
Add one more graphics chip.
1997-08-23 13:44:06 +00:00
kleink
dc91486be3
bootp vs. mop: don't clobber `netboot' flag.
1997-08-23 10:18:33 +00:00
thorpej
12ef0b5d17
Merge the FreeBSD-current-970823 version of the "fxp" driver, adds support
...
for more PHYs. Closes PR #3953 .
1997-08-23 09:28:13 +00:00
perry
423eab6e13
Stop people from trying to build the obsolete boot blocks by accident.
1997-08-22 21:53:00 +00:00
augustss
556cf1abc0
Make it possible for audio to attach to audioamd.
1997-08-22 11:45:06 +00:00
cgd
fc2e81c6d5
lie to the compiler when doing mkdep so that it depends .s files correctly.
1997-08-22 06:37:17 +00:00
scottr
4cb1ba2dac
Make this compile again when we only specify a machine with the
...
HP MMU (320, 350).
1997-08-21 18:12:34 +00:00
ws
8d38c5e126
Don't include psl.h in MI code.
...
Pointed out by Jonathan Stone and Chris Demetriou.
1997-08-21 11:26:42 +00:00
mjacob
1a7afa3853
add commented out reference SCSIVERBOSE option
1997-08-20 18:38:13 +00:00
mjacob
0e3c7b7f44
Commented out SCSIVERBOSE option; reference
1997-08-20 18:35:55 +00:00
mjacob
e349ac7eb5
If SCSIVERBOSE is enabled, call the routine to print out detailed sense
...
information.
1997-08-20 18:20:12 +00:00
mjacob
e919735e35
Add in (enabled by SCSIVERBOSE option since it adds a fair amount of string
...
gup to the kernel) more detailed SCSI error printing, based off of final
SCSI-2 specification. This will also print out things like progress indicator
errors, and will also dump out additional sense bytes that haven't been decoded.
Also, turned the error message 'DELAYED' to 'DEFERRED' since that's more
accurate.
1997-08-20 18:19:12 +00:00
mjacob
77116c198a
Add in prototype for routine to print SCSI errors in detail.
1997-08-20 18:11:37 +00:00
drochner
e153e51fa3
Make "genprom" work in objdir.
...
Minor cleanup to ease bootcode development at non-standard locations.
Closes PR port-i386/4013 by Luke Mewburn.
1997-08-20 16:53:30 +00:00
augustss
8fdd7cab62
Convert WSS driver to use non-broken indirect configuration.
1997-08-20 15:26:25 +00:00
mikel
ed1e33aac5
replace gawk-specific C-style comments with generic AWK comments; from
...
Yasufumi ITOH in PR kern/4011
1997-08-20 06:58:10 +00:00
jonathan
43bc0b92d2
Turn DDB on by default in GENERIC kernel; turn DDB_ONPANIC off.
...
Remove obsolete comments.
1997-08-20 04:33:04 +00:00
jonathan
d2ecd3da2a
update based on NFSINSTALL.
1997-08-20 04:22:41 +00:00
jonathan
378facc384
consistent whitespace after "options".
1997-08-20 04:21:28 +00:00
jonathan
e14d1d4768
Move SSIZE and DELAY() definitions to sys/arch/mips/include/mips_param.h.
...
Update comment in pmax/include/param.h (pr 3988).
1997-08-20 03:47:17 +00:00
augustss
332ad95e76
Change the MI audio driver so it attaches to the MD driver in the
...
normal way. This requires adding a line to the config files to
get audio to work again.
1997-08-19 23:49:33 +00:00
augustss
f78dfdfe6e
Avoid munging audio_defaults.
1997-08-19 23:35:44 +00:00
augustss
e5b75f05d4
Make a slight change to when blocksize, hi- and lo-water marks are
...
recalculated. The new semantics is more intuitive(?) and makes Doom
work :-)
1997-08-18 23:20:09 +00:00
hannken
a44c1f66a7
Change "it's" to "it is" inside assembler comments to
...
stop "unterminated character constant" messages from `mkdep'.
1997-08-18 22:44:01 +00:00
augustss
34085fae66
Implement /dev/audioctl. It behaves much like /dev/sound, but only
...
allows ioctl() and can be opened at any time.
1997-08-18 21:19:02 +00:00
scottr
af6b181686
Fix typo in getting the 040 access fault address, noticed by
...
Allen Briggs in the mac68k locore.s
1997-08-18 17:52:48 +00:00
mhitch
5170e3eccc
Use the free-running microsecond counter on the Maxine for high-resolution
...
clock.
1997-08-17 18:13:22 +00:00
mhitch
4c88f43717
Get $ra contents from the proper location in the exception/interrupt frames.
...
Use DDB symbols if available for stack traceback.
1997-08-17 17:02:07 +00:00
mhitch
549e36420e
Display jump and branch target with symbols if available.
...
Clean up indentation - seems to have gotten messed up when the mini-debug
routine was added.
1997-08-17 16:58:53 +00:00
mhitch
748703e737
Correct the check for a recovered error (I did it wrong the first time).
1997-08-17 16:51:21 +00:00
mjacob
4aa2f7013c
A few more SDEV_NOLUNS entries- one tape drive (SONY Beta/VHS) and a couple
...
of PCMCIA card readers (one as T_DIRECT, the other as T_PROCESSOR).
1997-08-17 16:25:11 +00:00
briggs
e39cac5a38
Get the correct fault address on a bus error on a 68040.
1997-08-16 23:10:49 +00:00
drochner
570688abef
Bring back the "comconsattached" flag. It is necessary for starred
...
com devices (on non "__BROKEN_INDIRECT_CONFIG" ISA).
1997-08-16 08:33:08 +00:00
mjacob
23d0cae1eb
It helps streaming performance substantially to enable bursts and more up hose
...
packets. It's not clear whether latency will be affected much. It could be.
However, for the time being, getting full rates out of HIPPI or SCSI are what
interests us at NASA, so we'll hew to this bias.
1997-08-16 01:18:30 +00:00
mjacob
92995a3a9f
a minor bit of cleanup
1997-08-16 01:16:33 +00:00
mjacob
ecd1b40ab3
Add some PCIA_CTL defines.
1997-08-16 01:14:32 +00:00
mjacob
ee328c6f18
This fibre channel disk doesn't support the geometry page.
1997-08-16 01:05:51 +00:00
mjacob
50d4bdf35c
Merge foo.
1997-08-16 00:56:52 +00:00
mjacob
419960bd0e
Changes for PCI Qlogic ISP2100 meant a few minor changes.
1997-08-16 00:33:04 +00:00
mjacob
695bb7c37e
Addition of PCI Qlogic ISP2100 (Fibre Channel) support meant a slight
...
change in f/w layout.
1997-08-16 00:30:37 +00:00
mjacob
24add65376
Major rework to support Qlogic ISP2100 (Fibre Channel PCI card). Also now
...
able to read SXP registers (instead of panicing). Probably have done a bit
of setup overkill- we now alloc some scratch memory for the 2100 that I thought
I would need for the Port database, but so far I haven't needed to retrieve
the port database. Well, early days yet.
1997-08-16 00:28:10 +00:00
mjacob
9de423f255
Add in PCI_PRODUCT_QLOGIC_ISP2100.
1997-08-16 00:25:43 +00:00
mjacob
14a7730c16
*Major* differences to support the Qlogic 2100 (Fibre Channel PCI), as well
...
as being able to do microdifferentiation of the ISP SCSI chip; a couple of
bug fixes, and the beginnings of some watchdog support.
1997-08-16 00:22:11 +00:00
mjacob
7540ed1699
Differences necessary to support the Qlogic 2100 (Fibre Channel PCI
...
Card)
1997-08-16 00:20:28 +00:00
mjacob
49d40727ff
Defines and structures necessary to support the Qlogic 2100 (Fibre Channel
...
PCI card); Some additional defines to try and manage various flavors of
the SCSI host adapters (parameters for various SYNC modes).
1997-08-16 00:18:36 +00:00
mjacob
2c7696de16
Additional defines and structures necessary to support the Qlogic ISP 2100
...
Fibre Channel PCI card.
1997-08-16 00:16:40 +00:00
perry
51ed105af6
comment out APM -- it hurts some systems during install.
1997-08-15 21:44:31 +00:00
mikel
d540ff911c
wrap bus_space I/O tag checks with #ifdef DIAGNOSTIC.
...
wrap actual read port map/unmap with #ifdef _KERNEL, so userland probe
code will still work.
1997-08-15 06:48:29 +00:00
cgd
efecf08fef
Sync with bus_space(9):
...
* make map and alloc take 'flags' rather than 'cacheable,' for
more flexibility.
* rename BUS_BARRIER_* to BUS_SPACE_BARRIER_*, for consistency.
* rename bus_space_copy_* to bus_space_copy_region_* and make their
defns match the updated spec.
Backward compatibility is provided by defining __BUS_SPACE_COMPAT_OLDDEFS,
which is currently defined by default.
1997-08-15 00:45:16 +00:00
briggs
2a83a9363a
Add interrupt handler for SuperMac GFX.
...
Tested by Kai-Yew Lum <kaiyewl@engin.umich.edu> back in May.
1997-08-15 00:15:32 +00:00
explorer
f1947d6a44
add SDEV_NOLUNS for my scanner (UMAX S-6E)
1997-08-14 22:17:32 +00:00
scottr
c7079260e5
More machine support:
...
- Add entries for the LC520, Color Classic, and PB150 to intvid_info[].
- Make the PB150 a Duo-class machine, as it seems to work better this way.
Now that we're doing the latter, it points out something I missed a long
time ago when I added Duo support: CLASSDUO was being ignored in
mac68k_set_io_offsets().
PowerBook 150 changes and bug fix provided by Dave Huang <khym@bga.com>
in PR 3970.
1997-08-14 18:23:20 +00:00
drochner
80a5032beb
Make new memory detection default.
...
Introduce a new option, "CONSERVATIVE_MEMDETECT", which disables the
new BIOS calls.
1997-08-14 17:00:18 +00:00
drochner
8aa62d76fc
Regen with new RCS ID. (thanks, Bernd)
1997-08-14 16:31:13 +00:00
drochner
e3045dd1ce
Add prototype definitions for serial console and KGDB.
1997-08-14 16:23:41 +00:00