mycroft
a9a7cc88d1
Need foo_exec.h.
1998-01-24 12:45:16 +00:00
drochner
ae1a2006c5
-take over debugging printf format fixes from sys/lib/libsa/nfs.c rev.1.23
...
-make error reporting for mount working as in sys/lib/libsa/nfs.c
1998-01-24 12:43:09 +00:00
mycroft
8bd9717302
Add local versions of setregs(), so I can tweak some registers later.
1998-01-24 12:42:22 +00:00
mycroft
9dd67a9098
Prototype new functions.
1998-01-24 12:39:37 +00:00
mycroft
112a8edc95
Use svr4_setregs().
1998-01-24 12:34:16 +00:00
mycroft
69b60a733c
Use freebsd_setregs().
1998-01-24 12:33:15 +00:00
mycroft
72623d8443
Use linux_setregs().
1998-01-24 12:32:15 +00:00
mellon
5685520ac1
Always set sc->sc_timeout (it was missed in one case). This fixes a problem where SYN cache entries are sometimes timed out almost immediately.
1998-01-24 12:27:31 +00:00
mycroft
4b8a102fbb
Fix process_{read,write}_fpregs().
1998-01-24 12:11:15 +00:00
mycroft
5ab55e91b7
Fix an old editing error from merging a bug fix into Lite,
...
that might cause us to erroneously drop a FIN.
Also, minor changes so the code looks more like Stevens vol 2 figure 28.30.
1998-01-24 05:04:27 +00:00
pk
49d2bfe020
Add a couple of options I forgot in last commit.
1998-01-23 22:47:20 +00:00
mycroft
d15d246d32
Add wdc* at isapnp?.
1998-01-23 20:42:34 +00:00
mycroft
929286557a
Add a PnP IDE frontend.
1998-01-23 20:40:58 +00:00
thorpej
60c3299e3e
Fix some debugging printf formats.
1998-01-23 19:27:44 +00:00
thorpej
cacd48c0d6
Print the correct error number if nfs_mount() fails. From Chris Demetriou.
1998-01-23 19:13:28 +00:00
cgd
b92943e80a
update to match (now-fixed) libc rules for strchr and strrchr.
...
Brokenness pointed out by Matthias Drochner.
1998-01-23 19:01:17 +00:00
drochner
7e5c045bb6
remove prototypes for deprecated index() and rindex()
1998-01-23 12:56:39 +00:00
mycroft
51ffd85641
Uncomment wdc.
1998-01-23 01:18:52 +00:00
mycroft
c1d56d473f
Add wdc* at pcmcia.
1998-01-23 01:16:03 +00:00
mycroft
e89c38b4c2
Slight cleanup.
1998-01-23 01:14:13 +00:00
mycroft
753e4909bb
Assume a newline has already been printed in wdcattach().
1998-01-23 01:06:45 +00:00
mycroft
4ed268e9ac
Print a newline in wdc_isa_attach().
1998-01-23 01:04:54 +00:00
mycroft
22c1670658
Some rearrangement of the startup code:
...
* Move some of the memory bootstrapping and the DDB startup earlier.
* Always put the IDT and the initial GDT and LDT in a separate page.
* Various minor changes.
1998-01-23 00:44:02 +00:00
gwr
119b962a9d
Add: extern struct cfdriver cgtwo_cd;
1998-01-23 00:01:28 +00:00
gwr
66be7643e5
Use the same names as the sun3x (DVMA_MAP_*)
1998-01-22 23:59:45 +00:00
gwr
5ba5bda641
Use the same names as the sun3x (DVMA_MAP_*)
1998-01-22 23:45:05 +00:00
mycroft
33c197e736
Half the include files are unnecessary.
1998-01-22 23:42:39 +00:00
gwr
b6be0a1994
Use MONEND instead of DVMA_SPACE_START in the "DDB convenience" symbols.
1998-01-22 23:39:03 +00:00
gwr
dd049a163c
Add config flags for tty[cd] to set TIOCFLAG_SOFTCAR.
...
Remove the framebuffer devices (not useful here).
1998-01-22 23:21:57 +00:00
is
53d89006d1
If on the M68060, make cache-inhibited pages imprecise. Reads and writes
...
are still in-order, but cached reads dont wait for the last write to finish.
Xamiga on a Altais in 8bit-mode became 30% faster servicing xanim (well, 6%
if you count xanim, too).
1998-01-22 23:13:40 +00:00
gwr
2c9c7a74bd
Remove the config flags from "si" lines so the driver default will
...
be used. That also makes it possible to patch the kernel in case
the default option causes boot failures or something...
1998-01-22 23:00:24 +00:00
mycroft
76299bd2c0
Regen.
1998-01-22 22:37:04 +00:00
mycroft
9fdb0f8782
Add the Millenium II.
1998-01-22 22:36:16 +00:00
gwr
8c3664b216
Remove the config flags from "si" lines so the driver default will
...
be used. That also makes it possible to patch the kernel in case
the default option causes boot failures or something...
1998-01-22 22:27:57 +00:00
gwr
c292276dcf
Change our DVMA map from the last 16MB to the last 1MB because that is
...
the only part that is visible to VME masters, and is adequate space.
This allows the "si" driver (on VME) to use DMA transfers.
1998-01-22 22:20:35 +00:00
gwr
56100bea19
When calling iommu_* functions, use IOMMU_VA_MASK.
1998-01-22 22:12:36 +00:00
gwr
0c50bf6487
No need to print the size (it's constant).
1998-01-22 22:09:11 +00:00
gwr
19e7bf4dcd
Add: IOMMU_VA_MASK
1998-01-22 22:07:45 +00:00
gwr
cc1b4e4724
In pmap_bootstrap_copyprom, copy only the last PTE from the PROM's
...
DVMA segment (for the page reserved by the PROM). If we copy all
the mappings, pmap_enter_kernel may complain about finding valid
PTEs that are not recorded in our PV lists. Make pmap_remove_pte
do something reasonable if it finds a PTE for a managed page that
has not been recorded in the PV lists. (Plus other minor stuff).
1998-01-22 22:00:25 +00:00
gwr
58126a3b29
Separate pmap_activate() from _pmap_switch(), so the latter can remain
...
equivalent to what locore.s:cpu_switch does with in-line assembly when
PMAP_DEBUG is not defined. Also do splimp/splx in pmap_activate.
1998-01-22 21:48:42 +00:00
gwr
43013bccbb
Use MONEND instead of DVMA_SPACE_START in the "DDB convenience" symbols.
1998-01-22 21:35:27 +00:00
gwr
ccf791aa2e
Add: extern struct cfdriver fdc_cd;
1998-01-22 21:26:25 +00:00
mycroft
c654cd6a87
Fix a bogon that flared up when XSERVER was defopted.
1998-01-22 20:55:48 +00:00
mycroft
c9c365814e
Regen.
1998-01-22 17:36:16 +00:00
mycroft
88ff8086d8
Nor COMPAT_09.
1998-01-22 17:36:01 +00:00
mycroft
91668a26c1
Regen.
1998-01-22 17:34:15 +00:00
mycroft
95745ffc95
This doesn't actually use COMPAT_10.
1998-01-22 17:33:49 +00:00
mycroft
0a4f0e60de
Regen.
1998-01-22 17:33:03 +00:00
mycroft
e8283b7944
This doesn't actually use COMPAT_10.
1998-01-22 17:32:25 +00:00
mycroft
b77637a440
Fix an old typo that caused shmdt() to fail.
1998-01-22 17:22:52 +00:00
mycroft
769c9d4707
Clean this up a bit.
1998-01-22 16:33:57 +00:00
mycroft
c79bc94b0e
Regen.
1998-01-22 16:32:40 +00:00
mycroft
1e948ee1c3
Put a local copy of the SysV IPC compatibility from compat/common in here, so
...
it's not dependent on COMPAT_10. Also, fix translation of shmctl(), since
FreeBSD's is a little different.
1998-01-22 16:31:33 +00:00
drochner
9219f22775
strchr.c disappeared from libkern, use index.c instead
...
(we can't control the libkern build as we want, but it works...)
1998-01-22 15:48:02 +00:00
drochner
8968860bab
add prototype for index()
1998-01-22 15:42:24 +00:00
thorpej
201cba44d4
Sync w/ FreeBSD-current-980122:
...
- Rearrange softc for better cache line behavior.
1998-01-22 08:32:35 +00:00
thorpej
0916ab379b
Sync w/ FreeBSD-current-980122:
...
- Rewrite fxp_start() for better clarity and efficiency.
- Remove unused #includes.
1998-01-22 08:31:33 +00:00
thorpej
ed13bba51f
Fix two register mapping problems:
...
- Fall back on i/o space if mem space isn't available.
- Card reports mem space as prefetchable, but mapping the card into dense
space fails in nasty ways on the Alpha. Force mapping into sparse
space by clearing the BUS_SPACE_MAP_CACHEABLE bit (XXX!).
1998-01-22 08:04:56 +00:00
cgd
ff65e57285
fix typo: s/max-address/mac-address/
1998-01-22 01:47:43 +00:00
thorpej
2ee3e0153d
Generate dependencies on the exec format options EXEC_AOUT, EXEC_ECOFF,
...
EXEC_ELF32, EXEC_ELF64, and EXEC_SCRIPT.
1998-01-22 01:32:14 +00:00
thorpej
ea9ade0496
Generate dependencies on the INSECURE option.
1998-01-22 01:18:30 +00:00
thorpej
dd4cb910db
Generate dependenices on the XSERVER option.
1998-01-22 01:16:23 +00:00
cgd
a014b499f1
add definitions for the mask registers. fix I/O size definitions.
1998-01-22 00:57:10 +00:00
fvdl
dba168ad94
Refuse to create entries in the dir cache for offset 0. This is a special
...
case anyway, and amd(8) erroneously returns some entries with cookie 0.
Fixes PR 4844
1998-01-22 00:53:59 +00:00
thorpej
122364206a
Generate dependencies on the DUMMY_NOPS option.
1998-01-22 00:44:06 +00:00
thorpej
54a35a6019
Generate dependencies on the USER_LDT option.
1998-01-22 00:39:16 +00:00
mark
09be9c026e
Only update the intrcnt array if IRQSTATS is defined.
1998-01-22 00:04:10 +00:00
thorpej
9ba18e2255
Generate dependencies on the MATH_EMULATE option.
1998-01-21 23:29:08 +00:00
mark
2b66ad2b89
Implement severl missing prototypes.
1998-01-21 22:55:19 +00:00
mark
330df4c754
Added missing prototypes.
1998-01-21 22:51:38 +00:00
thorpej
9c3ef8899b
Don't conditionally define the sgmap_log_entry structure, and turn off
...
SGMAP logging by default.
1998-01-21 22:36:10 +00:00
mark
b0e99b3251
Cleanup various debugging printf format strings.
1998-01-21 22:34:39 +00:00
thorpej
3d9cd8a05a
Extent names are const.
1998-01-21 22:34:38 +00:00
mark
dfbf823cea
Cleanup various debugging printf format strings.
1998-01-21 22:34:38 +00:00
thorpej
6428828e64
Const'ify the extent name.
1998-01-21 22:33:49 +00:00
mark
a108da3f00
Cleanup function prototyping in disasm_interface structure.
1998-01-21 22:33:10 +00:00
mark
ce1e283415
Axe some unused variables.
1998-01-21 22:28:12 +00:00
mark
74ff2dac9d
Cleaned up various debugging printf format strings.
1998-01-21 22:25:37 +00:00
thorpej
66abe4217c
Implement an activity log for malloc() and free(), useful for tracking
...
down "Data modified on freelist" and "muliple free" problems.
The log is activated by the MALLOCLOG option, and the size of the
event ring buffer is controlable via the MALLOGLOGSIZE option (default
is 100000 entries).
From Chris Demetriou, cleaned up a little by me per suggestions in the
e-mail from Chris that contained the code.
1998-01-21 22:24:32 +00:00
mark
52adaefc18
Include sys/systm.h for various prototypes.
1998-01-21 22:20:02 +00:00
cgd
4369378a6c
add rules like those in libc to build strchr() and strrchr() (the latter
...
is being added to libkern by this commit). remove strchr.c from
archs' Makefile.inc files to go along with this. (If an arch has
a .S version, it should be copied down and added to the apropriate
Makefile.inc.)
1998-01-21 21:23:18 +00:00
cgd
61a021f836
sync with libc
1998-01-21 21:17:08 +00:00
cgd
0bc1621f94
add strrchr
1998-01-21 21:16:52 +00:00
cgd
40894919ec
sync with libc version. (just rcs id changes.)
1998-01-21 19:43:23 +00:00
leo
8d5fa0c992
Fix a bug in the colormap handling. (Thomas Gerner)
1998-01-21 09:07:46 +00:00
mikel
cbddf94bc4
add NOLUNS quirk for UMAX S-12; from Andreas Wrede in PR kern/4849
1998-01-21 08:41:28 +00:00
mrg
c71457ab4a
KNF, and use splzs over splhigh in one place.
1998-01-21 05:54:39 +00:00
jonathan
ac937aafed
Fix clock attachment to match (pseudo) ioasic attachment in 5000/200 kernel.
1998-01-21 02:38:26 +00:00
mellon
babb710a0b
Never free the mbuf that we give to tcp_respond(). The previous change corrected an inconsistency but in exactly the wrong way.
1998-01-21 01:21:22 +00:00
pk
ab37013309
Put back `le0 at lebuffer0' for backwards compatibility.
1998-01-20 22:12:51 +00:00
drochner
66e093ada9
remove unused and misleading KERNSIZE definition
1998-01-20 13:11:25 +00:00
drochner
f874e95e8a
make compile without BROKEN_INDIRECT_CONFIG,
...
fix obvious brokeness in port offset calculation
(untested)
1998-01-20 13:08:33 +00:00
drochner
ae5f11c8d7
fix typo in DEBUG code
1998-01-20 12:48:05 +00:00
drochner
c0d5e99849
fix overflow of the vm_physmem[] array
1998-01-20 12:34:35 +00:00
mark
0c0da40168
Removed a load of unused variables.
1998-01-20 05:01:14 +00:00
mark
75b044ab61
Prefix the SPL macros to avoid clashes with userland macros (e.g. ipf).
1998-01-20 01:18:18 +00:00
mark
20323bb58c
Enable disassembly of ldc and stc instructions.
...
Fix a couple of prototypes.
1998-01-20 00:51:24 +00:00
mark
6924ceb598
Declare arm8_clock_config() to return an int rather than void.
1998-01-19 23:51:01 +00:00
augustss
59d2219410
Split out the ISA part of the WSS driver to allow PnP attachment.
...
Make the AD1848 driver a little more readable with some macros.
1998-01-19 22:18:23 +00:00
matt
aa7bb65b1c
Initial support for Digital Mobile Media Adapter.
1998-01-19 19:49:03 +00:00
drochner
6e2af98681
adapt to changed <dev/ic/i8253reg.h>
1998-01-19 11:39:57 +00:00
drochner
94343e637a
define offsets into "register window" instead of absolute ISA addresses
...
for better use in a bus-ified environment
1998-01-19 11:38:00 +00:00
sakamoto
39d4125cc3
add com0,com1,com2,com3
...
comment out wdc0, wd*(temporary)
1998-01-19 03:58:35 +00:00
sakamoto
9c3c5ad478
Support bootinfo like i386-port.
...
-define a buffer for information passed by the bootloader
-add a function ("lookup_bootinfo") to extract data
-use passed console information, for console attachment (VGA or SERIAL)
-use passed clock information, for timebase, decremente register
1998-01-19 03:47:41 +00:00
thorpej
12809e3434
If mapping only one segment of DMA memory into KVA space, use K0SEG.
1998-01-19 03:12:20 +00:00
sakamoto
5f78a36791
Add findcpuspeed for delay() and to pass to the kernel(BUS FREQ information).
...
some bug fix.
1998-01-19 03:00:55 +00:00
thorpej
c6d1f2e018
G/c LANCE DMA allocation goop.
1998-01-19 02:57:28 +00:00
thorpej
e5e8573d5c
Allocate the LANCE DMA area and set it up here. This is still not
...
optimal (really should be done further down the food chain), but we
can't really do that in a nice way right now, and this is much better
than what we had before (which was to steal memory pages before the
VM system was bootstrapped).
1998-01-19 02:56:05 +00:00
thorpej
bf92ae27ef
Pass a pointer to the "get this slot's DMA tag" function pointer to
...
the tc instance just like we do with the interrupt functions.
1998-01-19 02:54:24 +00:00
thorpej
806e953f2c
Get the per-slot DMA tag a bit differently.
1998-01-19 02:53:29 +00:00
thorpej
70da5cdba9
G/c an unused function pointer.
1998-01-19 02:53:03 +00:00
sakamoto
7bffb69b4c
Add btinfo_clock for BUS FREQ information.
...
some fix.
1998-01-19 02:52:02 +00:00
thorpej
8454673f87
Add "get this slot's DMA tag" function pointer on the Alpha.
1998-01-19 02:51:40 +00:00
thorpej
b5d3e43553
On the Alpha, pass down per-slot DMA tags to children.
1998-01-19 02:50:58 +00:00
thorpej
0546538aa8
Don't prototype ioasic_lance_dma_setup() on the Alpha.
1998-01-19 02:50:19 +00:00
thorpej
e1fed5afa0
Make sure the LANCE DMA area has been allocated, and don't call
...
ioasic_lance_dma_setup() on the Alpha; the DMA area is allocated differently
on that platform now.
1998-01-19 02:49:48 +00:00
sakamoto
9b5302f3da
eliminate unnecessary declaration.
1998-01-19 02:47:33 +00:00
sakamoto
5a1a1979bb
eliminate unnecessary code.
...
include dev/ic/i8253reg.h instead of timerreg.h
1998-01-19 02:20:55 +00:00
sakamoto
0075503ee7
Sync with arch/i386/isa/pccons.c
1998-01-19 01:49:43 +00:00
ragge
01eb1bb746
Make kernel compile & run again after latest config changes.
1998-01-18 22:09:13 +00:00
ragge
afb1a37379
Fix page size initialisation.
1998-01-18 22:07:50 +00:00
ragge
37f6125fdd
Garbage-collect unnecessary functions. Don't have blkcpy/blkclr
...
as inline.
1998-01-18 22:06:01 +00:00
drochner
32d94859ea
adapt to changed <dev/ic/i8042reg.h>
1998-01-18 14:45:10 +00:00
drochner
2562f77567
Don't define absolute ISA addresses here but offsets into the
...
"controller window".
1998-01-18 14:41:37 +00:00
mellon
ac489008ad
In syn_cache_get(), don't free incoming packet before jumping to resetandabort, but do free it after sending the reset.
1998-01-18 05:56:15 +00:00
gwr
2628e0df8a
Add the sif_macaddr member to struct saif, which can be used
...
in version 3.X PROMs (gets our Ethernet address).
1998-01-18 05:24:38 +00:00
mark
3f9be879af
Removed unused variables and prototypes.
...
Added missing prototypes.
1998-01-18 04:55:20 +00:00
mark
ce9284e134
Make sure halt() is prototyped.
1998-01-18 04:16:06 +00:00
mark
057522ef3f
Remove unused variables for the benefit of gcc -Wall -Werror.
1998-01-18 04:13:53 +00:00
mark
3a8b7284b0
Include sys/buf.h for the minphys() prototype.
...
Fix several printf() format strings.
1998-01-18 04:11:41 +00:00
mark
3224f7c301
Removed unused variables for the benefit of gcc -Wall -Werror.
1998-01-18 04:09:46 +00:00
mark
bb12eeb85a
Resync with podules file.
1998-01-18 04:02:53 +00:00
mark
0970bb601c
Add IDs for Lingenuity and Castle SCSI cards.
1998-01-18 04:01:42 +00:00
mark
921d5339df
Prototype kbdreset().
1998-01-18 03:51:13 +00:00
mark
773c2f9abb
Removed unused variables for the benefit of -Wall -Werror.
1998-01-18 03:48:37 +00:00
mark
56bac34cae
Declare a prototype for arm8_clock_config().
1998-01-18 03:43:46 +00:00
mark
a89dd06bf2
Removed unused variables and prototypes for the benefit of -Wall -Werror.
1998-01-18 03:42:58 +00:00
mark
56fc27b288
Removed unused variables for the benefit of -Wall -Werror.
1998-01-18 03:39:23 +00:00
thorpej
e62d894d7a
Implement a prefetch spill page for SGMAP DMA. This works around a slight
...
annoyance on systems that prefetch the next page during memory -> device
DMA if the DMA comes within a certain distance of the end of the current
page. This could cause machine checks since the PTE after the last page
would not have the valid bit set.
(I'm not going to complain about this slight kludge too much, since prefetch
makes DMA much faster...)
1998-01-18 00:05:33 +00:00
scottr
35e9372060
Add entries to the intvid_info table that are equivalent to
...
the (in)famous MADHATTER patch. The only one that has been
tested is the Q700, however, so the rest are conditionalized
on the MADHATTER option until they can be verified.
1998-01-17 23:10:22 +00:00
thorpej
8df306036a
Initialize s/g DMA registers in the same order as the CIA chipset's:
...
(1) window base
(2) window mask
(3) translation base
1998-01-17 22:46:55 +00:00
thorpej
3366b987d0
Put SGMAP-related stuff in the DMA map structure directly, rather than
...
indirecting through a pointer.
1998-01-17 21:53:52 +00:00
mark
405e360fa4
Include dev/scsipi/atapi_all.h
1998-01-17 20:00:59 +00:00
scottr
8df1b7a0f8
Now, correct the problem the correct way: s/cfattach/cfdriver/
1998-01-17 17:32:07 +00:00
scottr
696871f9e3
Back out previous change.
1998-01-17 17:28:35 +00:00
pk
23d53501bd
A small optimization.
1998-01-17 15:02:17 +00:00
mycroft
65d21cb64e
Change to the new 12-12-8 device number format.
1998-01-17 12:04:49 +00:00
scottr
5f3c1d48e0
We haven't needed a driver-specific minphys() for quite some time now.
1998-01-17 09:27:03 +00:00
mark
f62b027476
Include sys/user.h for the benefit of pmap_activate().
1998-01-17 07:14:11 +00:00
mark
1c08f38f54
Fix cfdriver declaration broken in recent config change.
1998-01-17 07:06:45 +00:00
thorpej
63db8935a6
Fix initialization of DMA window 0:
...
- Make sure the page table is aligned to at least 32k.
- Don't consider the MEMCS signal when checking for a window hit.
1998-01-17 03:43:59 +00:00
thorpej
9554b5a243
Update for "minptalign" argument to alpha_sgmap_init().
1998-01-17 03:40:32 +00:00
thorpej
399f3639cf
Don't assume that we'll be using direct-mapped DMA for PCI.
1998-01-17 03:39:51 +00:00
thorpej
361179df26
Make debugging decisions at run-time, and place a handy DDB breakpoint
...
after a transfer has been mapped in the page table.
1998-01-17 03:38:51 +00:00
thorpej
2981fec2f0
Allow specification of a minimum page table alignment to alpha_sgmap_init().
...
This is to work around an apparent hardware bug in some 2117x chipsets
where the page table must be aligned to at least 32k.
1998-01-17 03:37:22 +00:00
cgd
9d3aef5632
Put each of two labels one line to early. That could cause a panic,
...
if the wdc space couldn't be mapped. Pointed out by fvdl@netbsd.org .
1998-01-17 00:40:45 +00:00
cgd
4293c20761
return an error if given an ioctl which isn't recognized. (Fixes
...
ifconfig media warning with GENERIC kernels, as well as simply being
more correct.)
1998-01-16 18:54:10 +00:00
leo
123d97732f
Be more accurate with errors on read(2) (as suggested by Ted Lemon).
1998-01-16 09:19:37 +00:00
leo
bb4f2f4ebe
Add: bus_space_{read,write}_region_N() and bus_space_set_{multi,region}_N()
...
functions.
1998-01-16 09:17:48 +00:00
sakamoto
b1bde3fc9e
initial import of bebox kernel loader.
1998-01-16 04:17:36 +00:00
sakamoto
538f1fec20
initial import of bebox kernel loader.
1998-01-16 04:07:35 +00:00
sakamoto
ea7c4f2cab
Data structures passed from the boot loader to the kernel
1998-01-16 04:04:14 +00:00
thorpej
cf591e644b
Generate dependencies on the VM86 option.
1998-01-15 22:25:52 +00:00
thorpej
6254765e6a
Make this compile again after recent config changes.
1998-01-15 22:22:09 +00:00
thorpej
032c433933
Just commit to using MACHINE_NEW_NONCONTIG.
1998-01-15 22:20:15 +00:00
is
632b1123ba
struct cfdrivers are emitted by config(8) into ioconf.c, nowadays. Delete
...
mainbus_cd here.
1998-01-15 21:55:51 +00:00
cgd
10f936ff29
move the 'cd_cd' declaration back up to where it was before
...
the config changes were made. Though the nature of the declaration
had to change, there wasn't a reason to change its location.
1998-01-15 19:56:03 +00:00
thorpej
1484fa567d
Generate dependencies on the CPU type options (I386_CPU, I486_CPU, ...)
1998-01-15 19:47:36 +00:00
cgd
ed81982205
#if some bug workaround code which only needs to be compiled if
...
ATAPI 'sd's are present.
1998-01-15 18:59:03 +00:00
pk
94072e56f6
Move "async command" state in here.
1998-01-15 16:08:32 +00:00
pk
47505a3b6f
Elaborate on "receiver not ready" conditions; we don't need a full reset
...
in most cases.
Move "async command" state into the softc structure.
1998-01-15 16:07:34 +00:00
kleink
e800994db9
Per X/Open CAE Specification, Issue 5, change the type of the member ss_sp of
...
struct sigstack from `char *' to `void *'.
1998-01-15 14:58:13 +00:00
christos
05d3f8a2e9
PR/4794: Urban Boquist: Linux cdrom ioctls are missing
1998-01-15 14:52:11 +00:00
leo
dc8f785187
Make this compile again after the latest config changes.
1998-01-15 13:06:27 +00:00
thorpej
2cfef7a0ec
Oops, something snuck in there that shouldn't have...
1998-01-15 07:40:06 +00:00
thorpej
86adfd8033
Switch to MI IDE drivers, add ATAPI devices.
1998-01-15 07:17:19 +00:00
thorpej
c60855e116
Switch to the MI IDE drivers.
1998-01-15 07:09:24 +00:00
thorpej
f127dfb6f0
Undo the wdc -> awdc mapping kludge.
1998-01-15 07:02:21 +00:00
thorpej
76e4297b91
No longer needed; we use the MI IDE driver now.
1998-01-15 07:01:51 +00:00
thorpej
525b092c2e
Get include file paths correct.
1998-01-15 06:15:08 +00:00
thorpej
1f93872e5c
Kludge around i/o port overlap w/ the "wdc" driver.
1998-01-15 06:11:55 +00:00
thorpej
28fa7254b3
Define the O_SYNC flag to open(2) per XPG4.2, using the same value as the
...
historic O_FSYNC flag (the semantics are identical). Hide the historic
O_FSYNC flag if _POSIX_SOURCE or _XOPEN_SOURCE are defined, and define it to
be O_SYNC.
1998-01-15 02:33:12 +00:00
cgd
d6e5187749
add 'sd* at atapibus? drive ?' to all kernel configs already containing
...
an analogous line for 'cd'.
1998-01-15 02:26:26 +00:00
cgd
24972c51a4
#include a just-added scsipi header.
1998-01-15 02:23:43 +00:00
cgd
3b207eaf83
add support for an ATAPI attachment for 'sd'.
...
fix 'cd' driver's NCD_SCSI bogosity (was using testing wrong macro!)
clean up in various ways:
* make common atapi_mode_{sense,select}() functions.
* put ATAPI data structures in more sensible headers, split up by
device type.
* include headers a bit more carefully.
* pass flags to attachment-specific cd functions, and use them.
* get rid of SCSI bits in scsipi_base.h's scsipi_make_xs(), move
them into the correct place in scsi_base.c.
* fix minor typo in struct name in scsipiconf.h (which was apparently
never used except in a #define later in the same file).
* use __attribute__ to force 4-byte alignment for xs command store,
so that architectures trying to bus_space_write_multi_N() (where
N > 1) that data to a controller won't lose.
* clean up a few comments in typos, and make a few #defines easier to
understand/maintain.
* rename cd_link.h to cdvar.h (via repository copy). This is exactly
what a 'var' file is supposed to be.
1998-01-15 02:21:27 +00:00
cgd
8540a31ee3
kill a couple of unnecessary #ifs
1998-01-15 01:26:13 +00:00
cgd
aa872229e1
fix typo in comment that i just added
1998-01-15 00:35:38 +00:00
cgd
4fdd07b4c5
remove 'ata' interface attribute. it now is define in the MI conf/files.
1998-01-14 23:56:23 +00:00
cgd
aaede4d8d8
Various cleanups and bug fixes to the wdc/wd code:
...
* Fix bug in wdc that would overflow ATAPI transfer length.
* Improve wdc probe code so that 'wdc' is probed in if present
even if there are no drives attached, and so that it works
properly even if the only device is an ATAPI slave.
* bus_space-ify.
* split the ISA attachment from the wdc driver, and remove
ISA dependencies from non-ISA files.
* claim that wd and wdc are now machine-independent (probably not
completely true, but mostly so; they at least work on arm32 and
i386).
* Various other minor fixups and cleanups, some of which were pointed
out by Kazuki Sakamoto.
1998-01-14 23:41:59 +00:00
cgd
ad141a69a7
Shuffle wd/wdc driver files around (via repository copies). wdc
...
now lives in dev/ic, wd now lives in dev/ata. there's now a 'ata'
interface attribute defined in conf/files, but wdc can't go there
yet because some ports still use private versions based on the old
ISA version.
1998-01-14 23:36:30 +00:00
thorpej
561056f2e2
Grab a fix from 4.4BSD-Lite2: open(2) with O_FSYNC and MNT_SYNCHRONOUS
...
had not effect. Fix: check for either of these flags in vn_write(),
and pass IO_SYNC down if they're set.
1998-01-14 22:08:44 +00:00
thorpej
de0a03db2e
As pointed out by Chris Demetriou, I forgot to bump the NetBSD constant
...
when going to 1.3B. Let's hope we don't go to 1.3C in Februrary...
1998-01-14 22:05:52 +00:00
drochner
09354842c5
from Dave Burgess per PR4620:
...
-base address 0x308 is supported by more Wangtek QIC tapes than 0x300
-Ultrastor ISA SCSI adapters can't be set to base address 0x334
(changed to 0x340)
1998-01-14 15:27:43 +00:00
pk
866632416e
Fix a border case when committing physical pages to the VM system;
...
rename some variables in the process for clarity.
1998-01-14 14:49:29 +00:00
drochner
6dbf9b31d3
"device" structure is not used in probe anymore
1998-01-14 12:17:14 +00:00
drochner
4429cca488
make it compile without BROKEN_INDIRECT_CONFIG
1998-01-14 12:14:41 +00:00
cjs
61826c3946
Make INSTALL a fully-loaded kernel (for booting from network or CD), and
...
INSTALL-FLOPPY a stripped-down version to fit on a floppy.
1998-01-13 23:49:31 +00:00
pk
1842a317c3
Fix parenthesis inbalance.
1998-01-13 20:53:38 +00:00
pk
1195f3d8a9
Add fkbyte(), which is like fubyte() but for kernel addresses.
...
Only used at this moment to work around unexplained transient bus
errors when reading the VME interrupt vector in bus control space.
1998-01-13 20:51:01 +00:00
drochner
13463145fe
make it compile without BROKEN_INDIRECT_CONFIG
1998-01-13 19:33:28 +00:00
scottr
4c69a8b2ea
Update for bus.h changes.
1998-01-13 19:15:32 +00:00
scottr
5b4a54759d
Conform to spec, and make bus_space_copy() handle overlapping copies.
...
From Jason Thorpe.
1998-01-13 18:32:15 +00:00
mrg
057795048f
this is the i386 MD portion of the MACHINE_NEW_NONCONTIG code, as
...
written by chuck cranor. thanks to mycroft for helping me find the
one little line of code i accidentally deleted while merging it.
this is not enabled by default. `options MACHINE_NEW_NONCONTIG'
will use this code. eventually, this should go into <machine/vmparam.h>
insteaed of MACHINE_NONCONTIG.
1998-01-13 12:52:16 +00:00
thorpej
ebb84c5792
Fix a typo in previous.
1998-01-13 06:13:29 +00:00
sakamoto
7b093957d3
interrupt name change "softtty" -> "softserial"
1998-01-13 03:52:49 +00:00
enami
99a9d7a632
Don't include <machine/pio.h>. Include <machine/bus.h> explicitly.
1998-01-13 03:34:32 +00:00
enami
4b62270f85
Don't include <machine/pio.h> and <dev/isa/isavar.h>. Instead,
...
include <machine/bus.h> directly.
1998-01-13 03:31:42 +00:00
thorpej
df7ad322f2
Nuke spurious semicolon, from Konrad Schroder <perseant@hhhh.org>.
1998-01-13 03:30:39 +00:00
thorpej
1e2c4ea425
Update for changes to config.
1998-01-13 02:26:06 +00:00
thorpej
687449a900
Update for changes to config.
1998-01-13 02:09:58 +00:00
pk
a8dda8092d
Commit to MACHINE_NEW_NONCONFIG.
1998-01-13 00:58:56 +00:00
pk
418fd96bd5
Turn NEW_NONCONTIG page upload code into a routine shared by sun4/4c
...
and sun4m pmap_bootstrap()s, simplify it, and make it not loose the
couple of slack pages we painstakingly remembered in pmap_bootstrap.
1998-01-13 00:55:15 +00:00
scottr
3b7ef50f8e
Missed a change for the updated config(8).
1998-01-12 23:56:26 +00:00
scottr
ecc55fb707
Consolidate NFS_BOOT_* options into opt_nfs_boot.h
1998-01-12 21:27:09 +00:00
thorpej
c4c8934a37
Revert last change.
1998-01-12 21:21:45 +00:00
thorpej
8d1f838fd3
Significant kernel interface change: bump to 1.3B.
1998-01-12 21:16:23 +00:00
thorpej
f32f947061
Update for changes to config.
1998-01-12 20:52:29 +00:00
drochner
72852bbaec
make it compile without BROKEN_INDIRECT_CONFIG
1998-01-12 20:48:17 +00:00
thorpej
2565ff444a
Update for config changes.
1998-01-12 20:35:04 +00:00
thorpej
1adb4489a6
Update for changes to config.
1998-01-12 20:23:38 +00:00
thorpej
0475e09198
Update for changes to config.
1998-01-12 20:04:24 +00:00
thorpej
ac71bb86e2
This file was apparently accidentally ressurected.
1998-01-12 19:59:00 +00:00
thorpej
2d53e59a47
Update for changes to config.
1998-01-12 19:51:03 +00:00
thorpej
36760d9d94
Update for changes to config.
1998-01-12 18:59:04 +00:00
thorpej
871cf5e7ce
Update for changes to config.
1998-01-12 18:30:41 +00:00
thorpej
1ac3d5db35
Put SPU options in opt_spuconf.h, add device classes.
1998-01-12 18:29:48 +00:00
thorpej
cfdba7eac6
Update for changes to config.
1998-01-12 18:18:01 +00:00
thorpej
2d73f5ea18
Update for changes to config.
1998-01-12 18:03:58 +00:00
thorpej
0b6e56ec02
Adjust for changes to config.
1998-01-12 10:39:01 +00:00
thorpej
5419debcb7
Adjust for config changes.
1998-01-12 10:21:02 +00:00
thorpej
8742b48c3f
Adjust for changes to config.
1998-01-12 09:54:57 +00:00
thorpej
19feaef2b4
Adjust for changes in config.
1998-01-12 09:51:28 +00:00
thorpej
93f26b5f40
Adjust for changes to config.
1998-01-12 09:49:10 +00:00
thorpej
06ce220790
Update for config changes.
1998-01-12 09:39:57 +00:00
thorpej
1934051221
Update for changes to config.
1998-01-12 09:36:53 +00:00
thorpej
d02585cf36
Update for config changes.
1998-01-12 09:33:30 +00:00
thorpej
925ce7706e
ast, boca, and rtfps are not ttys, but rather "busses". Similarly,
...
the lpt doesn't export a tty-like interface, so it's dull, too.
1998-01-12 09:29:37 +00:00
thorpej
095c4c092d
Adjust for config changes.
1998-01-12 09:23:08 +00:00
thorpej
9c183e53cb
Slight change to previous.
1998-01-12 08:57:20 +00:00
thorpej
b731c12641
Adjust for config changes.
1998-01-12 08:51:09 +00:00
thorpej
c574630ead
Add device classes.
1998-01-12 08:48:28 +00:00
thorpej
43ba4e27bd
Adjust for config changes.
1998-01-12 08:44:08 +00:00
thorpej
2ceadba464
Add device classes.
1998-01-12 08:21:30 +00:00
thorpej
d58acb2a64
Pull in ioconf.h if _KERNEL and ! _LKM.
1998-01-12 08:04:55 +00:00
thorpej
c5f6a2dbb3
Add (commented out) COMPAT_13
1998-01-12 07:09:24 +00:00
thorpej
83c4c24058
Add "non-volatile" memory cluster usage bit.
1998-01-12 07:07:19 +00:00
sakamoto
1f703bce45
Sync w/ dev/isa/wdc.c
1998-01-12 06:08:41 +00:00
sakamoto
38efb3ac5f
add The Be interrupt controller setmask function(bebox_intr_mask).
...
change SINT_TTY to SINT_SERIAL
splsofttty to splsoftserial, and so on.
1998-01-12 04:57:10 +00:00
scottr
54ea074777
Use option header file for MROUTING
1998-01-12 03:02:48 +00:00
scottr
3cdcd5e1c7
Use option header file for TCP_COMPAT_42
1998-01-12 03:00:42 +00:00