Commit Graph

40299 Commits

Author SHA1 Message Date
phk
cc9c903eaf Convert DEVFS hooks in (most) drivers to make_dev().
Diskslice/label code not yet handled.

Vinum, i4b, alpha, pc98 not dealt with (left to respective Maintainers)

Add the correct hook for devfs to kern_conf.c

The net result of this excercise is that a lot less files depends on DEVFS,
and devtoname() gets more sensible output in many cases.

A few drivers had minor additional cleanups performed relating to cdevsw
registration.

A few drivers don't register a cdevsw{} anymore, but only use make_dev().
1999-08-23 20:59:21 +00:00
bde
e39b15a169 Use devtoname() to print dev_t's instead of casting them to long or u_long
for misprinting in %lx format.
1999-08-23 20:35:21 +00:00
peter
44722d51c6 The nexus_attach() code works a lot better if it's actually connected to
the device methods... Also, don't fail to add eisa/isa because a previous
device failed to attach.
1999-08-23 19:23:33 +00:00
alc
87d8698a60 Modify the macros IMASK_UNLOCK, CPL_UNLOCK, and REL_FAST_INTR_LOCK
to perform the s_unlock inline.
1999-08-23 19:14:18 +00:00
dwhite
bd887cb81d Add 'options MFS_ROOT' back in to kernel configs -- not going to get far
without that!
1999-08-23 18:49:52 +00:00
alc
a3a6ba85ba Correct the inconsistent formatting in struct vm_map.
Addendum to rev 1.47: submitted by dillon.
1999-08-23 18:16:05 +00:00
alc
5589e2e37e struct vm_map:
The lock structure cannot be the first element of the vm_map
	because this can result in livelock between two or more system
	processes trying to kmem_alloc_wait.
1999-08-23 18:08:34 +00:00
n_hibma
9d3d71aa49 Recognise the GPS receiver from Trimble
in NMEA mode (without date).

        Trimble OEM Ace-II receiver. Low cost PCB with single
        voltage input, external active antenna and two serial
        ports with either NMEA and ITAPs output. Programmable
        to be tuned for 'time' accuracy in fixed station config.

Author of tool notified.

Submitted by:	Dirk van Gulik <dirk.vangulik@jrc.it>
1999-08-23 14:49:22 +00:00
kato
4f3b9501ca - Make binary size smaller.
- Fix typo in TDK/LANX stuff.

Submitted by:	chi@bd.mbn.or.jp (Chiharu Shibata)
1999-08-23 13:54:35 +00:00
cracauer
458722712d Fix a mistake in my last SA_SIGINFO commit. Processes could block
SIGKILL and SIGSTOP.

PR:		kern/13293
Submitted by:	dwmalone@maths.tcd.ie
Obtained from:	PR had correct fix
1999-08-23 13:53:25 +00:00
kato
49d4ab9998 Updated to new keyboard driver.
Submitted by:	yokota & nyan
1999-08-23 13:50:08 +00:00
kato
85a55dda33 Merge from sys/dev/syscons/syscons.c revision 1.319.
Submitted by:	Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>
1999-08-23 13:45:28 +00:00
kato
839747bf45 Merge from sys/i386/isa/npx.c revision 1.76. 1999-08-23 13:42:22 +00:00
kato
efaa9a1d52 Merge from sys/i386/i386/userconfig.c revision 1.153. 1999-08-23 13:41:00 +00:00
kato
3ff84f0c20 Merge from sys/i386/conf/options.i386 revision .1.20. 1999-08-23 13:39:32 +00:00
peter
e821f663f2 Fix a few problems on the Alpha, and fix -Wall while here.
Before:
isab0@pci0:8:0: class=0x060100 card=0x00000000 chip=0xffffffffc6931080 ...
After:
isab0@pci0:8:0: class=0x060100 card=0x00000000 chip=0xc6931080 ...
1999-08-23 12:59:03 +00:00
sheldonh
8330dd0248 Correct xref: setlocal -> setlocale(3).
PR:	13321
Submitted by:	Alexey Zelkin <phantom@cris.net>
1999-08-23 12:55:19 +00:00
peter
b10b651816 Disable some apparently stray debug printfs:
ahc0: <Adaptec 274X SCSI host adapter> at 0x1c00-0x1cff, irq 11 (edge)
ahc0: on eisa0 slot 1
ahc0: aic7770 >= Rev E, SBLKCTL = 0x8
SSTAT0 = 0x0
SFUNCT = 0x0
Twin Channel, A SCSI Id=7, B SCSI Id=7, primary A, 4/255 SCBs

Not objected to by:	gibbs
1999-08-23 12:08:45 +00:00
chris
c8502a8ddd Document ENOSYS error.
PR:		docs/13290
1999-08-23 11:07:29 +00:00
phk
11e85b40e9 Add new option to fdisk: -e
This wipes the MBR and creates slice 1 as a FreeBSD slice covering the
disk starting from the second track to the cylinder aligned end of the disk.

This is the most compatibly layout we have as far as I know.
1999-08-23 11:06:19 +00:00
luigi
beaaf9727d Add missing files from previous commits. 1999-08-23 11:04:23 +00:00
luigi
f376be9c66 Add missing file from previous commit 1999-08-23 11:02:08 +00:00
luigi
9897eb5f39 Remove some files probably forgotten from previous commit. 1999-08-23 10:23:32 +00:00
luigi
addf3f8a06 Add missing files probably forgotten in previous commit 1999-08-23 10:19:15 +00:00
luigi
97b92cb258 Add missing files probably forgotten in previous commit 1999-08-23 10:13:06 +00:00
luigi
c815b437a5 Add missing file probably forgotten from previous commit 1999-08-23 10:05:20 +00:00
phk
2ee664635e Fix the breakage caused by hanging softc off dev_t. This is only
a workaround.
1999-08-23 09:35:12 +00:00
luigi
fcbf1b7557 More cleanup: move device entries in Picobsd makefiles in a more
accessible place.
1999-08-23 08:52:05 +00:00
luigi
adb9dd4931 Additional cleanup of the picobsd scripts.
Also bump Version to 0.445
1999-08-23 08:33:08 +00:00
chris
e756dffb5f Backed out my -n change to imply -l by request of sheldonh. 1999-08-23 05:39:40 +00:00
rgrimes
95eee15c4d Fix script in README to actually work, empty lines produce as
much a diff as lines with the wrong stuff on it.

Add references in mtree data files to the README.
1999-08-23 05:12:43 +00:00
chris
a730aca30f Make -n flag compliant to the Single Unix Specification.
To quote their ls(1) specification:

   -n
          The same as -l, except that the owner's UID and GID numbers are
          written, rather than the associated character strings.

Reviewed by:	green
1999-08-23 01:17:58 +00:00
rgrimes
1d5075292e An explination of how to keep these files in good working order.
Reviewed by:	bde
1999-08-23 01:16:26 +00:00
chris
9ed5c7adfd Remove cross-reference to removed man page od.4
sd(4) reference was also removed in the sentence:
  "In general the interfaces are similar to
   those described by wd(4) sd(4) and od(4)."
1999-08-22 23:52:01 +00:00
peter
330f978309 The previous fix didn't do anything if you didn't have pnp. The ICU
macros are only called in the !APIC_IO case, include icu.h there.
1999-08-22 23:49:00 +00:00
green
44a160f6e3 Finish unbreaking autoconf.c includes (for non-SMP.) 1999-08-22 23:44:33 +00:00
chris
6ed967c032 Remove od.4 -- Kenneth Merry writes:
It's not supported any more.  It was never ported to CAM, and that
 functionality has been taken over by the da driver.  So the man page can be
 removed.

Reviewed by:	ken
1999-08-22 23:40:41 +00:00
brian
5d1eeec435 Aallow ppp to work with Nortel Networks Extranet Switch
product and Windows NT tunneling.

Submitted by: Chain Lee <chain@nortelnetworks.com>
1999-08-22 23:32:01 +00:00
brian
63b369f4e6 ppp_alias -> ppp_nat
Submitted by: Josef L. Karthauser <joe@FreeBSD.org.uk>
1999-08-22 23:26:05 +00:00
brian
a004aa7aae Decrease the isdn recovery time to 1 second and mention that it
should always be less than ppps redial timeout.
1999-08-22 23:18:42 +00:00
brian
50e567ced1 NOALIAS -> NONAT
Reminded by: jkh
1999-08-22 23:17:57 +00:00
green
81e46e7930 Make a comment I added a bit nicer. 1999-08-22 22:32:41 +00:00
gallatin
c54706bff5 Fix a small typo (missing comma) to make the alpha kernel build again 1999-08-22 21:47:32 +00:00
dwhite
9ef2f4c6ff Major PicoBSD update by luigi with some debugging help from myself.
. Now builds on -STABLE (-CURRENT is broken due to bugs)
. etc directory contents centralized instead of in each
  type directory (can exclude & override as desired)
. Removed extraneous language files (lang files for rc really necessary?)
. dialog-based build tool with support for custom floppy builds
. MFS image loads as a mfs_root module instead of compiled into kernel

THIS IS BROKEN ON CURRENT.  I'll MFC to -STABLE immediately following.
luigi tells me I have an OK from jkh on the MFC.

Submitted by:	luigi
1999-08-22 21:45:24 +00:00
peter
587653aa28 Oops, that wasn't so clever after all. struct isa_device is still a
prerequisite for this old pnp.h.
1999-08-22 21:44:35 +00:00
peter
5d3779e0a9 Zap a heap of unused cruft now. We don't need the ISA/EISA/PCI hooks
here any more as they are self identifying.  Only PNP remains but that
will be replaced any day now.
Also reword a comment that had been XXX'ed to death to make it clear[er]
why we don't enable interrupts before probing.
PCIBIOS interrupt routing controls may make this possible to fix one day.
1999-08-22 19:59:29 +00:00
peter
577bf8b359 Take advantage of the apm/npx code and let them identify themselves rather
than having explicit hooks here.
Treat the eisa/isa attach a little differently so that we defer the
decision about to attach eisa/isa to the motherboard directly only if
the PCI probe (if it exists) fails to turn up a PCI->EISA/ISA bridge.
This restores the original device geometry where ISA and/or EISA attach
to their bridge rather than bypassing and going to the root.
1999-08-22 19:56:55 +00:00
peter
bea4f4384a Make the identify routine add itself with priority 100 to make sure it
goes after the npx/apm devices and any other motherboard devices that
may get added down the track.
1999-08-22 19:54:11 +00:00
peter
f7facab3fe Add an identify method to allow npx to arrange itself to be attached to
the nexus without explicit code in the nexus to do so.
1999-08-22 19:52:51 +00:00
peter
0c28caaafa Add an identify method to allow apm to attach itself to the nexus
without hooks in there.
1999-08-22 19:51:33 +00:00