phk
942fabe617
Finding root devices is a much more sane thing now.
1999-11-10 10:50:51 +00:00
sos
85f0f1d998
Make the atapi device return sensible errno's back to userland.
...
Dont panic if a nonexistant device is opened.
1999-11-10 07:13:51 +00:00
archie
926d271571
Update to reflect changes in the node type.
1999-11-10 06:17:51 +00:00
archie
9c0f6dbefe
Fix some bugs; seems to work now. Minor change to the configuration field
...
to make the number of compression slots parameter consistent with what
IPCP negotiates (ie, the number of slots - 1).
1999-11-10 06:17:14 +00:00
archie
371524a338
Move handling of the address and control fields into the PPP node;
...
they belong there because they are device independent.
Also some other misc. fixes.
1999-11-10 06:15:22 +00:00
alc
f0cd9c6361
Two changes: (1) Use vm_page_unqueue_nowakeup in vm_page_alloc
...
instead of duplicating the code. (2) If a wired page is passed
to vm_page_free_toq, panic instead of printing a friendly warning.
(If we don't panic here, we'll just panic later in vm_page_unwire
obscuring the problem.)
1999-11-10 05:23:19 +00:00
dfr
b1f829ffa6
Drop ipl to zero before calling ast(). Make sure that this only happens
...
if we are really going to call ast() to avoid unexpected interrupt
recursion.
Reviewed by: bde, gallatin
1999-11-09 21:43:12 +00:00
dfr
5052c78d3e
Fix a warning.
1999-11-09 21:35:10 +00:00
dfr
0daa10b268
Fix a warning.
1999-11-09 21:23:11 +00:00
phk
8c9bc6b146
Next step in the device cleanup process.
...
Correctly lock vnodes when calling VOP_OPEN() from filesystem mount code.
Unify spec_open() for bdev and cdev cases.
Remove the disabled bdev specific read/write code.
1999-11-09 14:15:33 +00:00
yokota
2596038173
Correctly record the mouse position in the current VTY.
1999-11-09 12:35:36 +00:00
nyan
6ed78701c7
- Commented out ed driver.
...
- Added sis driver.
1999-11-09 12:20:34 +00:00
nyan
90c3762347
Sync with sys/i386/conf/options.i386 revision up to 1.127.
1999-11-09 12:16:01 +00:00
alc
49c5eada3d
Passing "0" or "FALSE" as the fourth argument to vm_fault is wrong. It
...
should be "VM_FAULT_NORMAL".
1999-11-09 01:44:28 +00:00
yokota
92e43b6747
Cosmetic change: correct formatting error in my previous commit.
...
"Options" should be:
options<ascii space><tab>OPTION_NAME
Pointed out by: obrien
1999-11-09 00:39:55 +00:00
julian
c173e32dd2
Remove a null pointer reference
...
Submitted by: Brian Somers (brian@freebsd.org )
1999-11-09 00:31:04 +00:00
phantom
81a319a02c
Restore sub-chapters order.
...
PR: docs/14766
Submitted by: Kazutoshi Kubota <kazu@iworks.co.jp>
1999-11-09 00:24:09 +00:00
n_hibma
bb41862968
The Qtronix keyboard has a built in PS/2 port for a mouse.
...
It however posts a bogus button up event once in a while. Whenever
we receive dx=dy=dz=buttons=0 we postpone adding it to the queue for
50msecs with a timeout. If in the meantime something else is posted
the event is ignored.
This avoids the problem Nik Sayer reported. He noticed that X windows
would drop and pick up a window once in a while.
Thanks, Nik, for supplying me with the keyboard to fix the problem!
1999-11-08 23:58:33 +00:00
n_hibma
78a036a798
Add QTronix keyboard with PS/2 mouse connector
1999-11-08 23:50:00 +00:00
n_hibma
3e6d388992
remove superfluous header include
...
Submitted-By: phk
1999-11-08 23:47:34 +00:00
sos
0c7be9be3a
Unbreak ATAPI on the Aladdin chipset, only DMA access worked.
...
Try to use a 32bit mask on the IO addresses, this fixes the alpha
and hopefully doesn't break on any i386 machines.
Try to enable both read & write cache on disks, they should be as
default, but better be sure..
1999-11-08 21:36:00 +00:00
n_hibma
63c4c3e1da
Remove superfluous header file includes
...
Remove definition of initialiser.
Some clean up.
1999-11-08 21:12:25 +00:00
n_hibma
f937576f3a
Remove superfluous header file includes.
...
Pushed-By: phk
1999-11-08 21:06:21 +00:00
phk
0f2adb8c13
A little bit of nitpicking in the 'syncing disks...' end of a shutdown.
1999-11-08 19:36:45 +00:00
dillon
2fb940a103
Fix nfssvc_addsock() to not attempt to free a NULL socket structure
...
when returning an error. Bug fix was extracted from the PR. The PR
is not yet entirely resolved by this commit.
PR: kern/13049
Reviewed by: Matt Dillon <dillon@freebsd.org>
Submitted by: Ian Dowse <iedowse@maths.tcd.ie>
1999-11-08 19:10:16 +00:00
yokota
934bb28b94
- Document SC_TWOBUTTON_MOUSE, SC_NORM_ATTR, SC_NORM_REV_ATTR,
...
SC_KERNEL_CONS_ATTR and SC_KERNEL_CONS_REV_ATTR.
Nudged by eivind
1999-11-08 14:16:48 +00:00
phk
ab35df5a74
remove a confusing and stale comment.
1999-11-08 13:52:57 +00:00
phk
3e649437d2
Oops, a bit too hasty there.
1999-11-08 13:08:02 +00:00
phk
57a1b53168
Ignore leading 'r' in base of root device name.
1999-11-08 11:44:51 +00:00
yokota
6b891b634b
- Added the following options; they have existed in syscons
...
for sometime, but haven't been registered here.
SC_NORM_ATTR
SC_NORM_REV_ATTR
SC_KERNEL_CONS_ATTR
SC_KERNEL_CONS_REV_ATTR
PR: kern/13176
1999-11-08 10:59:48 +00:00
yokota
060ce4c0b5
- Added a new kernel configuration option: SC_TWOBUTTON_MOUSE.
...
The new option will make the right mouse button the `paste' button.
Useful for two button mice.
Submitted by: morganw@engr.sc.edu (Wes Morgan)
1999-11-08 10:04:29 +00:00
phk
e6b1d22771
Various cleanups.
1999-11-08 09:59:34 +00:00
phk
d078ae5ffe
simplify check for device.
1999-11-08 09:59:17 +00:00
yokota
08dbd4e20b
- Removed SC_VIDEO_DEBUG. It is broken and useless now.
1999-11-08 09:57:16 +00:00
peter
e5e0ffb3a7
Zap DEV_DRIVER_MODULE(). The New world order is that drivers create their
...
dev nodes with make_dev() in a devfs-compatable way by supplying names.
This doesn't fit into a compile-time scheme like DEV_DRIVER_MODULE,
especially since the cdevsw[] array's days are numbered.
1999-11-08 08:12:05 +00:00
peter
f4f3e6b797
Zap devsw_module_handler().
1999-11-08 08:10:00 +00:00
peter
2b55618762
Use cdevsw_add() explicitly and DRIVER_MODULE().
1999-11-08 07:57:03 +00:00
peter
3d459b4aed
Call id_drvinit() from attach, not probe as the OS hasn't necessarily
...
decided which driver to use until attach. Use DRIVER_MODULE().
1999-11-08 07:56:10 +00:00
peter
5b37dfdd4b
Take a shot at using cdevsw_add() to get it working again. This really
...
needs to use make_dev().
1999-11-08 07:51:28 +00:00
peter
a323a1a83c
Use cdevsw_add() until the rest of the devices are created with make_dev()
...
and change from DEV_DRIVER_MODULE() to DRIVER_MODULE().
1999-11-08 07:46:28 +00:00
peter
a253f72fce
Use DRIVER_MODULE(), apm.c already takes care of it's devices with
...
make_dev().
1999-11-08 07:44:26 +00:00
phk
3c8d543dde
Rename remove_dev() to destroy_dev().
...
Nagged about by: msmith
1999-11-08 07:44:01 +00:00
peter
f0e609c8f7
Use (temporarily) cdevsw_add() so we can change from DEV_DRIVER_MODULE()
...
to DRIVER_MODULE().
1999-11-08 07:37:15 +00:00
peter
6c85184e2d
Use cdevsw_add() (temporarily) to avoid DEV_DRIVER_MODULE(), since the
...
make_dev()'s that are there are not enough.
1999-11-08 07:32:06 +00:00
peter
0838268996
Use DEVICE_MODULE() directly instead of DEV_DRIVER_MODULE. psm.c uses
...
make_dev() already.
1999-11-08 07:29:23 +00:00
peter
8f14894e4d
Use cdevsw_add() explicitly as a workaround for DEV_DRIVER_MODULE().
...
This should be changed to use make_dev() at some point.
1999-11-08 07:24:55 +00:00
peter
630652b41e
No need to use DEV_DRIVER_MODULE() since the bktr driver calls make_dev().
...
Roger: Feel free to change or spam this as you please.
1999-11-08 07:20:07 +00:00
peter
98626677f4
Don't let drivers that use DEV_DRIVER_MODULE() compile as they won't
...
work and will leave a system stranded.
1999-11-08 07:14:07 +00:00
peter
757541c042
ulpt.c and ums.c already uses make_dev(), so there's no need to use the
...
(presently broken) DEV_DRIVER_MODULE(). Use DRIVER_MODULE() directly.
1999-11-08 07:10:48 +00:00
peter
bee7b4d5d6
Don't indirect via devsw_module_handler() for DEV_MODULE() routines, have
...
the supplied (if any) function and argument called directly.
1999-11-08 06:56:19 +00:00