Julian Elischer
1077fa97b3
When calling the open function, specify either FREAD and/or FWRITE
...
as leaving them both 0 has the same effect as not openning the device at all.
1998-04-23 22:09:55 +00:00
Julian Elischer
bdeec4c20b
Oops forgot to include opt_bootp.h
...
Bootp works a lot better with devfs if this is present.
1998-04-23 20:59:42 +00:00
Eivind Eklund
01404206b9
Convert timespecclear() back to an expression (this time without
...
sideeffects).
1998-04-23 14:12:06 +00:00
Eivind Eklund
e89652d0c4
Wrap timerclear in do { ... } while(0)
1998-04-23 00:11:32 +00:00
Eivind Eklund
57402d4df8
Add devfs support.
...
Submitted by: somebody whose name escapes me :-(
1998-04-23 00:06:43 +00:00
Tor Egge
beede91e58
Mask the interrupt before setting the corresponding bit in ipending if
...
the interrupt is already active.
Don't use lock prefix for operations on ipending.
Always use lock prefix for operations on iactive.
1998-04-22 22:49:29 +00:00
Julian Elischer
afcdc872dc
Bad144 support for the slice system (!)
...
Submitted by: luoqi@watermarkgroup.com (Luoqi Chen)
I'm amazed by this. Slice has only been checked in for 2 days..
1998-04-22 19:27:54 +00:00
Matt Jacob
8bafc2452a
Add support for the Qlogic ISP SCSI && FC/AL Adapters
1998-04-22 18:18:16 +00:00
Matt Jacob
65adb54cf1
Add support for the Qlogic ISP SCSI && FC/AL Adapters
1998-04-22 18:12:29 +00:00
Matt Jacob
6054c3f6f2
Add support for the Qlogic ISP SCSI && FC/AL Adapters
1998-04-22 17:54:58 +00:00
KATO Takenori
d6226d453f
Sync with sys/i386/conf/majors.i386 revision 1.39.
1998-04-22 13:35:21 +00:00
Julian Elischer
26d3bf5f1b
close() is no longer a SLICE method.
...
Close is simply an open with no-read and no-write once internal to SLICE
(it still exports a close to the rest of the kernel)
1998-04-22 10:25:27 +00:00
Peter Wemm
4bc57bd94f
Add a couple of missing symbols referred to in asm code.
1998-04-22 09:46:16 +00:00
Mike Smith
38f86230bd
Add a block device entry for the 'myx' driver too.
1998-04-22 05:10:51 +00:00
Mike Smith
9c25a0b542
Add 'myx' for Ulf Zimmerman's Mylex Raid driver (ulf@alameda.net>
1998-04-22 03:57:07 +00:00
Julian Elischer
6c633c343f
Don't allow an open to succeed if the device is invalidated during the
...
open process.
1998-04-22 01:51:34 +00:00
Brian Somers
4431d4ba23
- breakage of the warnings about pessimized i/o port types.
...
- pessimized i/o port types.
- other pessimized types.
- Don't use DEBUG (causes LINT warnings). Use DGB_DEBUG instead.
- commented out code.
- cloned code that doesn't apply ("Smarts" is for the cy driver only).
Submitted by: bde
1998-04-21 21:06:57 +00:00
Brian Somers
ba000fa9b4
Correct the digiboard device names in agreement
...
with the man page (POLA).
1998-04-21 21:06:22 +00:00
Julian Elischer
20e427a519
Remove the artificial limit on the size of the ipfw filter structure.
...
This allows the addition of extra fields if we need them (I have plans).
1998-04-21 18:54:53 +00:00
KATO Takenori
5e4832f65d
PC-98 does not supports DMA automode lager than 65535 bytes.
1998-04-21 09:48:45 +00:00
KATO Takenori
bb9b85aaeb
Supports PC-98 again.
1998-04-21 09:46:14 +00:00
Brian Somers
590be6b1ad
o Move debug stuff down a bit so that it doesn't try to
...
dereference uninitialized pointers.
o Fix DEVFS permissions
o Fix DEVFS minor numbers
o Add initial & lock devices for cua device.
o Fix permissions in line with sio.
1998-04-21 02:39:48 +00:00
Julian Elischer
ff1f112b1a
The 'mountroot' option is obviously pointless for an LKM
...
so allow LKM compilation to succeed by making it go away for that case.
Saves needing to include opt_devfs.h which an LKM cannot rely on anyhow.
1998-04-20 23:18:46 +00:00
Julian Elischer
2af4594564
Remove more LFS left-overs
1998-04-20 21:54:19 +00:00
Julian Elischer
751e9ca706
Remove an LFS clause, now that it is in the history,
...
anyone who wants to see what was needed cto revive LFS can see it.
1998-04-20 21:53:07 +00:00
Søren Schmidt
d264ed7a01
Enable DEVFS usage of the device (include opt_devfs.h>
1998-04-20 18:51:33 +00:00
Nate Williams
480895cbea
- Give up trying for a simple solution for correctly recognizing if a card
...
was really removed, or simply 'faked' by a suspend/resume. Keep track
of both current and previous state, and send that information to the
userland programs.
[
XXX - This breaks binary compatability with older pccardd programs, but
they don't work reliably. :(
]
1998-04-20 15:21:02 +00:00
Nate Williams
e4c50d858a
- Only poll the PCIC controller for insertion/removal events if the
...
controller hasn't been assigned an IRQ.
1998-04-20 15:15:20 +00:00
KATO Takenori
b4e7319708
Commented out ide_pci.c.
...
Reviewed by: kato
Submitted by: Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>
1998-04-20 13:54:47 +00:00
KATO Takenori
9bfbfc62fd
Sync with sys/i386/conf/options.i386 revision 1.77.
1998-04-20 13:52:44 +00:00
KATO Takenori
47c5d70acc
Sync with sys/i386/conf/files.i386 revision 1.197.
1998-04-20 13:52:13 +00:00
KATO Takenori
c140c97201
Sync with sys/i386/isa/wd.c revision up to 1.159.
1998-04-20 13:51:34 +00:00
KATO Takenori
9a3c443d5a
Sync with sys/i386/isa/fd.c revision 1.109.
1998-04-20 13:50:58 +00:00
KATO Takenori
1a373dbe8a
Sync with sys/i386/isa/npx.c revision 1.60.
1998-04-20 13:50:21 +00:00
Julian Elischer
ff6ba95a46
fix typo in copyright.
1998-04-20 04:55:17 +00:00
Julian Elischer
992109b58e
Get rid of DEVFS_ROOT
...
it no longer has any effect.
SLICE is in some ways a replacement but is destined to also go away.
1998-04-20 04:30:47 +00:00
Julian Elischer
c0bab11dfe
Make the devfs SLICE option a standard type option.
...
(hopefully it will go away eventually anyhow)
1998-04-20 03:57:41 +00:00
Julian Elischer
3e425b968d
Add changes and code to implement a functional DEVFS.
...
This code will be turned on with the TWO options
DEVFS and SLICE. (see LINT)
Two labels PRE_DEVFS_SLICE and POST_DEVFS_SLICE will deliniate these changes.
/dev will be automatically mounted by init (thanks phk)
on bootup. See /sys/dev/slice/slice.4 for more info.
All code should act the same without these options enabled.
Mike Smith, Poul Henning Kamp, Soeren, and a few dozen others
This code does not support the following:
bad144 handling.
Persistance. (My head is still hurting from the last time we discussed this)
ATAPI flopies are not handled by the SLICE code yet.
When this code is running, all major numbers are arbitrary and COULD
be dynamically assigned. (this is not done, for POLA only)
Minor numbers for disk slices ARE arbitray and dynamically assigned.
1998-04-19 23:32:49 +00:00
Tor Egge
9d66d1d696
Disregard the values for polarity and trigger mode in the MP config table
...
for ISA interrupts where the IOAPIC interrupt pin number is the same as
the ISA interrupt number (i.e. partial backout of previous commit)
1998-04-19 23:19:20 +00:00
Dag-Erling Smørgrav
59bad7c53b
Backed out lseek changes.
1998-04-19 22:20:32 +00:00
Brian Somers
9feab75ab7
o Support a compile-time -DNO_FW_PUNCH for portability
...
(and those of us that don't want the functionality).
o Don't assume sizeof(long) == 4.
Ok'd by: Charles Mott <cmott@srv.net>
1998-04-19 21:42:07 +00:00
Amancio Hasty
6493d9f3bb
Forgot to add opt_bktr.h
1998-04-19 19:12:49 +00:00
Poul-Henning Kamp
4565cbea29
According to:
...
ftp://ftp.isi.edu/in-notes/iana/assignments/port-numbers
port numbers are divided into three ranges:
0 - 1023 Well Known Ports
1024 - 49151 Registered Ports
49152 - 65535 Dynamic and/or Private Ports
This patch changes the "local port range" from 40000-44999
to the range shown above (plus fix the comment in in_pcb.c).
WARNING: This may have an impact on firewall configurations!
PR: 5402
Reviewed by: phk
Submitted by: Stephen J. Roznowski <sjr@home.net>
1998-04-19 17:22:30 +00:00
Bruce Evans
212b37ff18
Support compiling with `gcc -pedantic' (don't use hard newlines in
...
(asm) string constants).
1998-04-19 15:41:06 +00:00
Bruce Evans
1696756396
Support compiling with `gcc -pedantic' (don't use hard newlines in
...
(asm) string constants or hard long long constants).
1998-04-19 15:39:26 +00:00
Bruce Evans
721f74b7d3
Support compiling with `gcc-pedantic' (don't declare static arrays
...
with no size).
1998-04-19 15:36:12 +00:00
Bruce Evans
8c4a6d7452
Support compiling with `gcc-pedantic' (don't use hard newlines in
...
(asm) string constants or trailing commas in enum declarations).
1998-04-19 15:28:30 +00:00
Bruce Evans
78a8182665
Support compiling with gcc -pedantic (don't use a bogus, null cast).
1998-04-19 15:22:48 +00:00
Peter Wemm
823833f19d
Back out previous commit, obrien doesn't seem to be watching. The problem
...
is that the previous commit spammed a hacked 2.2-stable onto -current,
deleting the DMA support etc. (I guess that's one way of minimizing diffs
between -current and -stable.. :-] )
1998-04-19 03:26:05 +00:00
Dag-Erling Smørgrav
25096724e8
Return EINVAL and do not change file pointer if resulting offset is negative.
...
PR: kern/6184
1998-04-18 19:24:44 +00:00