Commit Graph

36402 Commits

Author SHA1 Message Date
pk 2ca556b136 Nuke dead code. 2000-03-19 14:41:48 +00:00
pk 753a0ebc67 kd.c should not depend on NKBD. 2000-03-19 14:20:54 +00:00
pk 2ab6f90563 kd.c should not depend on `kbd'. 2000-03-19 14:19:17 +00:00
pk c969f1b7df Add `fb_is_console()', which is a helper function for frame buffer
device drivers used to decide whether or not to act as console output.
2000-03-19 13:48:44 +00:00
pk b0eba37586 Add fields to hold PROM info to be used in console device matching. 2000-03-19 13:45:23 +00:00
pk e654ecd0d8 Nuke dead code. 2000-03-19 13:38:54 +00:00
pk f5839cdae8 Minimal changes to accomodate the console input channel attachment
changes in the keyboard driver (see /sys/dev/sun/kbd*)
2000-03-19 13:29:14 +00:00
pk 0ed0e258db Declare the prom stdio nodes and arguments. 2000-03-19 13:25:10 +00:00
pk 41fb5989fe Revise console device handling:
* do not require a `zs' driver for console handling
	* run the console on PROM primitives until a device recognises
	  itself as a console device during normal autoconfiguration.
	* allow (keyboard) devices to take over the input channel of
	  the PROM primitive-based console device.

As a result, consinit() is much simplified and does no longer have
to "detect" devices to setup a working console device. This complexity
has moved to individual drivers which interpret the PROM information
after they have attached to decide whether or not to act as a console.
2000-03-19 13:22:14 +00:00
pk 08a1a0f49d Use a somewhat more flexible method to hook up the keyboard driver
as the console input device.
2000-03-19 12:50:43 +00:00
pk 6d04005134 Check for console input and output separately.
XXX - split input/output for /dev/console is not yet supported.
2000-03-19 12:42:45 +00:00
pk 3f1373d9b7 Define separate flags for console input and output.
Allow console operations to be passed in attachment arguments.
2000-03-19 12:39:47 +00:00
takemura dae2c19e55 - Pbsdboot.exe is compiled for WindowsCE 2.00.
Use Pbsdboot1.exe for Windows CE 1.01.
 - Doesn't display 'MEMORI KA-DO'(Japanese KANA) if SystemDefaultLangID
   isn't Japanese.
 - Set up Windows color palette for 8 bpp machine.
2000-03-19 11:10:57 +00:00
takemura 847d8fd135 Synch with adding arch/hpcmips/include/endian_machdep.h. 2000-03-19 10:46:17 +00:00
scw b0ca3fa931 The soft-interrupt handler now returns void. 2000-03-19 10:38:43 +00:00
jdolecek 8b4b779fa9 couple of remarks of issues I discovered when debugging some MSDOSFS problem 2000-03-19 10:37:04 +00:00
sjg 281c45ba53 Added NOLUNS quirk for YAMAHA CRW8424S 2000-03-19 10:33:26 +00:00
nonaka 0e99eebec3 bus_dma works. (at least de, le and vr work.) 2000-03-19 09:45:30 +00:00
rh 783a9476be Track name change espvar.h -> esp_isavar.h so 'make includes' works again. 2000-03-19 09:11:50 +00:00
scottr 4f29e4d330 Add and use macros to build ADB FLUSH, LISTEN, and TALK commands. 2000-03-19 07:37:58 +00:00
tsarna 893f3574fb Make clearer. IMHO, all of this code should stop referring to Control-L
and Control-R, since those suggest ^L and ^R, not Left and Right Control.
2000-03-19 06:31:17 +00:00
tsarna 4f2a934e05 Correct a comment 2000-03-19 06:24:52 +00:00
scottr edfc8b89ad The MRG and direct ADB drivers were inconsistent in how they worked with
a serial console; the direct driver didn't care, but the MRG driver
wouldn't probe ADB when using a serial console.  Remove the check from
the MRG version of the code to resolve this difference.
2000-03-19 06:07:05 +00:00
thorpej f785596e75 Add support for mapping the OHCI USB controller interrupt (which is wired toan ISA IRQ because it's in the same package as the PCI-ISA bridge). 2000-03-19 02:25:29 +00:00
thorpej ac93a75106 Point back to the alpha_shared_intr in the intrhand structure. This
allows platform-specific code to access the `intr_private' data via
the intrhand structure.
2000-03-19 01:46:18 +00:00
thorpej c10a9d31ea Put the code that enables/disables Pyxis interrupt lines in
cia_pyxis_intr_enable().
2000-03-19 01:43:25 +00:00
erh 1d34297aae Regen. 2000-03-18 23:53:38 +00:00
erh 38cf426930 Fix the msgrcv prototype. 2000-03-18 23:53:24 +00:00
erh 0174e6759b Add sigset_t parameter to restore_sigcontext, created by the sigreturn functions. linux_sigreturn still needs to use frame->extramask.
In setup_linux_rt_sigframe copy the signal mask to both possible locations.
2000-03-18 23:45:41 +00:00
erh 224f92b651 Pass a signal mask to restore_sigcontext. 2000-03-18 23:40:56 +00:00
erh c7a82169cc Regen. 2000-03-18 22:46:53 +00:00
erh 2648835399 Use the new linux_sys_reboot and linux_sys_connect. 2000-03-18 22:46:27 +00:00
scw 9c745dbd5e Merge 'scw_mvme68k_bus_space' branch with the trunk.
These changes add support for:

	o The MI VMEbus framework on both MVME147 and MVME167.
	o Enhancements to the existing MD bus_space(9) implementation.
	o Most of the bus_dma(9) API.
2000-03-18 22:33:02 +00:00
erh 9db5981a04 Add linux_sys_reboot. 2000-03-18 22:23:13 +00:00
erh 528f8305be Regen. 2000-03-18 22:21:02 +00:00
erh f3ae1c7294 Use linux_sys_reboot instead of sys_reboot. 2000-03-18 22:20:57 +00:00
mycroft 744ccf496c Expose ncr53c9x_init(). 2000-03-18 22:18:57 +00:00
erh 035c694c67 Regen. 2000-03-18 22:16:56 +00:00
erh dd9cf0df56 Use linux_sys_reboot instead of sys_reboot. 2000-03-18 22:16:46 +00:00
mycroft c0b35f72c2 Adjust ncr53c9x_intr() prototype. 2000-03-18 22:09:32 +00:00
erh 34b72dcf4a Add defines for linux_sys_reboot. 2000-03-18 22:01:02 +00:00
mycroft 48e59fc985 esp -> esp_isa 2000-03-18 21:50:20 +00:00
mycroft 4a915758fd esp -> esp_isa 2000-03-18 21:49:33 +00:00
mycroft 9dd3a0973d This turns out to be the wrong interface for what I needed -- but I'll leave
the code here for now.
2000-03-18 21:11:16 +00:00
scottr 513f613391 Add the RasterOps 24MxTV; this card operates in the same manner as two
other RasterOps boards we already handle.  Information provided by
Greg Kerr.
2000-03-18 20:53:24 +00:00
erh a159733250 Regen. 2000-03-18 20:44:01 +00:00
erh 50ef430f08 resync NOARGS lines with their definitions in kern/syscalls.master. resync STD lines with what is expected in .c files. (especially wrt adding const). Add missing prototype for setfsuid. Fix ptrace prototype. 2000-03-18 20:43:33 +00:00
erh fa21d7879c Adjust linux_sys_ptrace_args to reflect inconsistencies across ports. Temporarily ifndef alpha around getfsuid since Linux/alpha doesn't seem to have it. 2000-03-18 20:42:14 +00:00
mycroft 03dddfc09e Preliminary support for 53c40x-based cards. Needs some more work. 2000-03-18 17:59:52 +00:00
mycroft b1d2b97787 Change footprint of ncr5380_intr() to match normal interrupt handler usage. 2000-03-18 17:14:34 +00:00
mycroft 1d1321109f Use bus_space on MIPS. 2000-03-18 17:07:46 +00:00
mycroft 28b4015ca2 GC. 2000-03-18 16:52:20 +00:00
ragge cae5843a06 Fix typo that caused lance chip not to be detected. 2000-03-18 16:20:06 +00:00
mycroft e1a7dc9b2a Fix line wrapping. 2000-03-18 16:16:12 +00:00
mycroft 6780878550 Fix pasto in previous. 2000-03-18 16:14:57 +00:00
mycroft 0af581a1a1 Add a ncr5380_attach() routine which does part of the initialization, attaches
the scsibus, and does the addref/delref dance.
2000-03-18 16:13:22 +00:00
mycroft 302a1bd362 Regen. 2000-03-18 15:01:33 +00:00
mycroft 2ab04a0400 Add the Panasonic 4X CD-ROM Interface CArd. 2000-03-18 15:00:31 +00:00
mycroft 7e9aa53f0a nca -> nca_isa 2000-03-18 13:17:03 +00:00
mycroft 5960b2aec6 Move some code around in preparation for nca_pcmcia. 2000-03-18 13:05:20 +00:00
scottr c62e39490c Check to make sure we get a valid handler ID in response to a TALK R3. 2000-03-18 08:07:50 +00:00
cgd 638726b0db * rework the quirk table ('device_tab'):
* QUIRK_NOMSG only has any meaning when NCR_GETCC_WITHMSG
      is defined.  Therefore, there's no harm in using it when
      NCR_GETCC_WITHMSG is not defined.  so, simplify the table
      by removing the #ifdef.
    * there's really no point in having table entries after
      an entry which will match everything.
    * add some comments, clean up spacing.

* add an entry for "QUANTUM"/"ATLAS IV" drives with flags
  QUIRK_NOTAGS|QUIRK_NOMSG.  (I included the latter flag only
  because everything else had it before! ... which means that
  all the functionality added with the NCR_GETCC_WITHMSG define
  would never get used! *sigh*)  The latter fixes the problems
  I was having on an Atlas, and should fix the problems mentioned
  by Hans Hoppe <hopha@casema.net> in comments on PR#7694.
2000-03-18 06:59:02 +00:00
cgd 52b7212c58 undo the non-script changes from rev 1.87. They caused problems in
1.4.x and i have concerns (but no concrete proof) they will cause/have caused
problems in -current as well.  Really, the right way to fix this is to
rewrite the driver, and push up tagged queueing handling into a common
middle layer that'll do it right in a low-level-driver-independent manner.
I'll fix my particular issues by using the ncr driver quirk mechanism.
2000-03-18 06:47:28 +00:00
itojun d926d6fa47 #if 0'ed undo code for interface address addition failure.
it was a bit too strong, and forbids multiple addresses from
same prefix to be assigned.

now the behavior is the same as previous - memory leak on interface address
addition failure.
http://orange.kame.net/dev/query-pr.cgi?pr=218
2000-03-18 02:41:58 +00:00
tron e86957458a Install "machineendian_machdep.h". 2000-03-17 22:36:31 +00:00
augustss 670d533d54 Keep the bit position even when the report descriptor says POP. 2000-03-17 18:09:17 +00:00
tron 8caeaa49bd Install "endian_machdep.h" required for "sys/endian.h". 2000-03-17 17:22:57 +00:00
soren d07596ff64 Allow mips endian_machdep.h to see _LITTLE_ENDIAN and _BIG_ENDIAN. 2000-03-17 11:47:43 +00:00
soren 11bd453515 scsiprint() is needed even without scsibus'es, so move it to scsi_base.c . 2000-03-17 11:45:49 +00:00
soren bd1cc85c63 Use a kvtophys() hack for mips like for alpha. No idea if it actually works.. 2000-03-17 11:30:14 +00:00
soren 82ad0bf745 atapiprint() does not exist. 2000-03-17 11:23:23 +00:00
sato 2b251ae99b change about debug print. 2000-03-17 09:54:15 +00:00
bouyer 5c0cae7a28 Fix botched merge in previous. 2000-03-17 09:25:22 +00:00
bouyer 0bf221f2d9 - remove leftovers of FreeBSD code in #if 0/#endif
- fix a bug in ti_encap() where a NULL pointer could be used if we run out
  of tx descriptors (return ENOMEM instead, and let the caller assert OACTIVE)
- sync boot messages with NetBSD's pci standart (print ti_name and irq
  line)
- add a shutdown hook to stop the board, so that the board will not DMA at
  random places while we're rebooting
- convert all but TIGON 1 transmit descriptors to use bus_space
  (this last one isn't trivial to get rigth and I don't have the hardware to
  test)
- If we can't map the mem space linar, retry to map it nolinear. Punt if
  we couldn't map the mem space linear and we found a Tigon 1 chip.

With these changes a Tigon 2 board (netgear BA620 at last) can be used in
my DS20.
2000-03-17 09:20:16 +00:00
scottr 0a23aef85e Resurrect a chunk of code from the ite driver that we lost along the way.
This code is necessary for SE/30 internal video, at a minimum.
2000-03-17 04:46:32 +00:00
fvdl 512503c606 If we're reclaiming, and there are no dirty blocks, just return. 2000-03-17 01:26:52 +00:00
fvdl c3167b9545 Do previous better. Use FSYNC_RECLAIM as it was before. 2000-03-17 01:25:06 +00:00
mycroft edf942a988 In the `MY THAT'S GROSS' department:
Eliminate the recursive include of machine/endian.h from sys/endian.h.
2000-03-17 00:10:24 +00:00
mycroft 9e21b6555a In the `MY THAT'S GROSS' department...
Eliminate the recursive include of machine/endian.h from sys/endian.h.
2000-03-17 00:09:18 +00:00
darrenr 08227b6c88 build stkbuf out of u_long rather than char for sys_ioctl() to ensure we get an aligned array 2000-03-17 00:01:48 +00:00
thorpej 93eb82ff2f Recognize the Intel InBusiness. 2000-03-16 23:41:40 +00:00
thorpej 56460ec830 Regen. 2000-03-16 23:41:30 +00:00
thorpej 3f182de5c6 Add product ID for the Intel InBusiness 10/100 Ethernet adapter (which
is an i82559 with a different product ID).
2000-03-16 23:36:44 +00:00
darrenr 162b0b1dab __P(()) -> __P((void)) 2000-03-16 23:21:05 +00:00
augustss cdc4484e47 Regen. 2000-03-16 21:51:45 +00:00
augustss 94f5fe4392 Add Altec ADA70 speakers and have them recognized despite announcing an
old rev of the USB audio spec.
2000-03-16 21:51:23 +00:00
jdolecek 88b591be30 Adapt to last VFS changes - add appropriate vfs_done routine. 2000-03-16 19:00:26 +00:00
jdolecek 139fcd8227 Bump kernel version to 1.4V - VFS op vfs_done added 2000-03-16 18:32:23 +00:00
uch 34329d9139 regen. 2000-03-16 18:28:11 +00:00
uch 348fff03fb add I/O DATA USB-ET/TX USB ethernet adapter. 2000-03-16 18:27:21 +00:00
jdolecek 67d0de97b6 Change ufs_init() to keep global count of how many times it was called.
Resources are initialized still just once (on first call).

Add ufs_done(), which takes care of freeing all resources allocated in
ufs_init(). The resources are freed only when last user of the code exits.
2000-03-16 18:26:49 +00:00
jdolecek 03efc0b2b7 Add new VFS op routine - vfs_done and call it on filesystem detach
in vfs_detach(). vfs_done may free global filesystem's resources,
typically those allocated in respective filesystem's init function.
Needed so those filesystems which went in via LKM have a chance to
clean after themselves before unloading.

For each leaf filesystem, add appropriate vfs_done routine.

Also remember how many times ffs_init() was called and do
the appropriate initialization on first call only. In ffs_done(),
destroy the resources when called by the last user of ffs code.
Change mfs to call ffs_init()/ffs_done() appropriately.
2000-03-16 18:20:06 +00:00
jdolecek 89015c4648 Add new VFS op routine - vfs_done and call it on filesystem detach
in vfs_detach(). vfs_done may free global filesystem's resources,
typically those allocated in respective filesystem's init function.
Needed so those filesystems which went in via LKM have a chance to
clean after themselves before unloading. This fixes random panics
when LKM for filesystem using pools was loaded and unloaded several
times.

For each leaf filesystem, add appropriate vfs_done routine.
2000-03-16 18:08:17 +00:00
jdolecek 677d6a9962 add hashdone() - frees memory previously allocated via hashinit() 2000-03-16 17:19:53 +00:00
onoe 9eb76252d0 Regen. 2000-03-16 16:48:59 +00:00
onoe 8a8e062c16 cards for if_awi:
Add AirSurfer Pro
	Change the name for AMD Am79C930.  The same CIS strings are used
	both for Melco WLI-PCM and NTT-EL SS Magic.
2000-03-16 16:38:41 +00:00
kleink 8bc084e1de Kill more broken cf_unit bogons. 2000-03-16 16:37:20 +00:00
ad afaa5767a3 Match shutdown msg with that of cac.c. 2000-03-16 15:13:05 +00:00
ad 534da504b9 Cosmetic change. 2000-03-16 15:09:59 +00:00
mycroft 02905321b2 Foolish consistency. Mainly, always use underscores and sys/endian.h. 2000-03-16 15:09:34 +00:00
ad a81a812b50 Remove unneeded field in 'struct cac_ccb'. 2000-03-16 15:07:22 +00:00
ad ce0c2b1962 Attach cac* at pci?, ca* at cac?. Commented out where needs be. 2000-03-16 15:05:18 +00:00
ad d8bd9a762a Make ca(4) useable as a block/boot device. 2000-03-16 14:53:29 +00:00
ad 70063dc527 Driver for Compaq array controllers and disks (cac(4)/ca(4)). 2000-03-16 14:52:22 +00:00
mycroft 415cbeb83f This code has nothing to do with UCB. 2000-03-16 14:15:26 +00:00
tsutsui 6e0e3d609f Replace LE() macro with le32toh()/le32toh(). 2000-03-16 12:40:51 +00:00
fvdl 1c78f3708b Inititalize the fs variable struct a little earlier to avoid referencing
a bad pointer in a printf. Problem reported by Krister Walfridsson.
2000-03-16 10:37:00 +00:00
fvdl 1a774a9979 Set bus_intr to ahc_pci_intr. 2000-03-16 10:34:33 +00:00
fvdl f44ddd61a9 Do bus-specific interrupt handling (i.e. ahc_pci_intr) via a bus_intr
field in the softc, instead of relying on NPCI > 0. This would
prevent things from compiling if PCI buses were in the config file,
but ahc was attached only to something else than the PCI bus.
2000-03-16 10:33:45 +00:00
nisimura f7f5e0a24c Note that HX (PMAGB-B) has no support for small (less than 8 pixel width)
font.  If attempted, kernel will explode.
2000-03-16 08:42:40 +00:00
nisimura f52c9620bc Place 34 by 80 console at the center of screen. 2000-03-16 05:50:57 +00:00
nisimura 0b765ee6f8 Retain rendering performance lossage by rasops, but suffering
flexibility in turn; this renderer is 2B stroke (less than 16 pixel
width) font only.  If 1B stroke (less than 8 pixel width) font is
ever supported, the font data should be converted into 2B stroke
during font initialization process.  'wsfont_realize()' is to be
proposed in order to have 'CPU and/or accelerator hardware friendly'
format to squeeze maxinum performance.
2000-03-16 05:48:28 +00:00
enami 8fa8b77325 Sync disklabel.5 with disklabel.h and dkio.h more closely. 2000-03-16 05:16:19 +00:00
enami 172410a85d s/alternate/alternative/ from rev. 1.5 of disklabel.5. 2000-03-16 04:58:35 +00:00
enami aa8b5ebd93 On initialization failure, free all the storage allocated to store
component pathnames rather than the last one.
2000-03-16 03:54:01 +00:00
enami 5336e37153 Make this file just compiles again.
XXX Don't expect to work yet.  It fails even to link depending on your
XXX kernel config file.
2000-03-16 03:06:51 +00:00
thorpej 2ac45d6eef Quiet down the DAD messages a little more. 2000-03-16 02:53:45 +00:00
eeh 3b51289caa Revamp interrupts again:
Fix a bug causing interrmittent panics in interrupt dispatch.
	Use interrupt vectors for softints.
	Add a new send_softint interface.
	Improved D$ flushing.
	Improve traptrace and other debugging enhancements.
2000-03-16 02:36:56 +00:00
shin 6190c3253f add 'makeoptions CWARNFLAGS=""' to override CWARNFLAGS?= -Werror. 2000-03-16 01:45:51 +00:00
augustss c99c03da4d Make the USB event queue longer. Mine overflows before the (user-land)
event handler has started.  But then I have about 25 devices connected. :)
2000-03-16 00:46:38 +00:00
augustss 1a9f0619fd Fix thinko in the handling of FORCE_SHORT_XFER so that it actually
transfers a 0 length package instead on munging the whole transfer.
The aue driver works now.
2000-03-16 00:41:50 +00:00
augustss f9fd27ea3c Fix an uninitialized variable. From Krister Walfridsson <cato@df.lth.se> 2000-03-15 22:41:29 +00:00
augustss 499e5cba01 Fix some uninitialized variables. From Krister Walfridsson <cato@df.lth.se> 2000-03-15 22:40:30 +00:00
kleink 1634305526 Kill a couple of unnecessary cf_unit (ab)uses. 2000-03-15 20:40:00 +00:00
thorpej 411a31adb2 - Go to splimp() when sending the rtsock message regarding link status.
- Would like to notify protocols if a link goes up or down, to e.g.
  restart Duplicate Address Detection, etc.  Add a comment to this
  effect.
2000-03-15 20:34:43 +00:00
thorpej c38405d33d Add power management support to the `tlp' driver. The battery on my
laptop lasts a whole lot longer now.
2000-03-15 18:39:50 +00:00
soren b4e10b0a4e s/md/raid/ for RAIDframe major name. 2000-03-15 17:08:37 +00:00
oster 36b9d60244 Add the RAIDframe device major to the machine-dependent config files
so that the right entries get added to dev_name2blk[].  Needed for / on RAID.
(Missed these yesterday.. Thanks to Izumi Tsutsui for noticing, and for
letting me know :) )
2000-03-15 16:57:12 +00:00
drochner aa1de89bdf explicitely #include <sys/systm.h> #if BUS_SPACE_DEBUG to get a printf()
prototype
2000-03-15 16:44:48 +00:00
fvdl e3dbad5a3c Revert this back to 2 revisions ago, these checks are done higher up now. 2000-03-15 16:31:52 +00:00
fvdl 14cbd3e2b0 In fdatasync, do not call bioops.io_fsync, since we're not flushing
metadata. If you do call it, there's actually a fair chance that it
will panic because its metadata dependencies were not cleared in
the VOP_FSYNC above (with FSYNC_DATAONLY).
2000-03-15 16:30:39 +00:00
fvdl 01db605567 Do the previous slightly different: any files on MNT_SOFTDEP filesystems do
not want all their metadata dependencies flushed from vinvalbuf() if
there are no dirty blocks.
2000-03-15 16:28:45 +00:00
fvdl 73797e6d2a Stupid hack: run the apm kthread at 8*hz/7 intervals, not hz. Prevents
the load average from being 1.0 or higher constantly.

XXX really need a better way of calculating the load average.
2000-03-15 09:30:11 +00:00
sommerfeld fbc4dbb7ac Catch up to rearranged aic7*.h files 2000-03-15 07:17:06 +00:00
nisimura 220005d941 Eliminate unused sc_cookie field of struct ioasic_softc. 2000-03-15 03:07:44 +00:00
fvdl 14620f1eee PCI frontend for new ahc driver. 2000-03-15 02:33:52 +00:00
fvdl 20b063e782 Add new files for common ahc EISA/VL code. 2000-03-15 02:10:41 +00:00
fvdl bacabba843 Add new files for common VL/EISA ahc code. 2000-03-15 02:10:09 +00:00
fvdl 1e4647a15b New ahc driver, a port of Justin Gibbs' FreeBSD driver. This adds
support for the U2W chips, and U160 controllers.
2000-03-15 02:08:28 +00:00
fvdl 085f68836e Common code for EISA and VL frontends for the ahc driver, split off
by Noriyuki Soda when updating for the new ahc driver.
2000-03-15 02:06:18 +00:00
fvdl bb8265c6be Update ISA/VL frontend for new ahc driver (done by Noriyuki Soda). 2000-03-15 02:05:19 +00:00
fvdl 7df6153163 Update EISA frontend for new ahc driver (done by Noriyuki Soda). 2000-03-15 02:04:43 +00:00
fvdl 2da1f00fcd Update cardbus frontend for new ahc driver. 2000-03-15 02:03:51 +00:00
fvdl 46eb4f1451 Add SLIST. 2000-03-15 02:03:11 +00:00
fvdl d025f5705e Add a couple of defines/aliases for messages. 2000-03-15 02:02:37 +00:00
haya b6f22443bb Remove ancient code. 2000-03-15 00:38:40 +00:00
augustss 1e1f1f3b3b Make sure the USB event thread discovers all devices first time it call
usb_discover().
It should now be possible to have the root NFS mounted over a USB Ethernet
adapter.
2000-03-14 23:13:12 +00:00
augustss 072f9f5b69 Some whitespace changes. 2000-03-14 22:37:55 +00:00
jdc e8a33a63d1 Add port power management ioctls. 2000-03-14 21:24:54 +00:00
jdc 48ba774212 Fix RCS ID.
Add port power management.
2000-03-14 21:23:45 +00:00
jdc 797ac20035 Add power management hooks. 2000-03-14 21:20:51 +00:00
jdc fa4417ef0c Add enable/disable and power management hooks for serial ports.
Port states : always on / on when open (default) / always off
2000-03-14 21:18:27 +00:00
kleink e2a9e82243 Add a descriptive comment to previous. 2000-03-14 19:16:03 +00:00
oster 1bad2e1909 Add the RAIDframe device major to the machine-dependent config files
so that the right entries get added to dev_name2blk[].  Needed for / on RAID.
(Whoops!  I missed checking these in when adding the RAID_AUTOCONFIG stuff.)
2000-03-14 15:56:51 +00:00
soren 667929def5 KNF comment. 2000-03-14 14:11:06 +00:00
soren 9ec86df3dd Fix typo. 2000-03-14 14:10:08 +00:00
soren eb9d73ce81 Actually use KSEG1 offset for KSEG1 addresses in kvtophys().
From Jeff Smith and Ethan Solomita at Geocast.
2000-03-14 14:08:55 +00:00
fvdl 563d336e44 Don't immediately return in ffs_fsync if there appears to be no data
to flush if it's a vnode on a softdep filesystem. softdep_sync_metadata
may still need to do some work.
2000-03-14 13:06:29 +00:00
enami 60ed7cfb2b Simplify the code a bit. 2000-03-14 10:26:10 +00:00
enami 70b8e188ee Don't think that a card is inserted if there is a card already in the slot.
Note that powerdown hook calls pccbbintr so that it detect card insertion or
removal during suspension.
2000-03-14 10:23:16 +00:00
enami d454505125 Cosmetic change. 2000-03-14 10:20:09 +00:00
sato 0a00ace3f7 some buttuns map to key codes which the button mean. 2000-03-14 08:37:31 +00:00
uch 6219354e8c sync with fb->hpcfb, btnmgr changes. 2000-03-14 08:31:07 +00:00
sato 16d7136b4c change about debug print.
CVS
2000-03-14 08:26:42 +00:00
nisimura 65da099cb1 Unnecessary to enclose device driver body with #if NASC > 0. 2000-03-14 08:23:29 +00:00
sato b76ec51696 - toggle CONFIG_HOOK_BUTTONEVENT_POWER event.
- change about debug print.
2000-03-14 08:23:24 +00:00
nisimura 2eb68c00d2 Respect video console colour designation by configration file. 2000-03-14 08:04:06 +00:00
nisimura 80c0893a8b Switch to improved flexible video console text rasterizer provided by
rasops and wsfont.
2000-03-14 06:25:21 +00:00
nisimura 8bf44847a8 Fix DEC3000/300 TC slot numbering. There is an address space hole
between two TC option cards and 3 builtin TC devices.  Was uncovered by
mrg's change made at Nov 1999 and pointed by tsutsui.
2000-03-14 05:53:33 +00:00
nisimura 6f5486c425 Switch to MI sfb (PMAGB-B) TC framebuffer driver which sports faster
text rendering assisted by SFB ASIC.
2000-03-14 05:34:04 +00:00
nisimura 8de02d3a76 - Comment out cfb (PMAG-B) 1024x768 framebuffer.
- Have Gallant19 font by default.
2000-03-14 05:31:16 +00:00
nisimura ae493d8845 Resolve LP64 issues. 2000-03-14 04:23:14 +00:00
nisimura b3a2990ce5 Redo the previous commit; duplicated lines. 2000-03-14 02:55:04 +00:00
nisimura 38ed3db66f Synchronize with recent progress of GENERIC. 2000-03-14 02:53:04 +00:00
thorpej 297455cbe2 Pick I/O before Memory space. 2000-03-14 02:08:21 +00:00
tsarna e58bd0c365 Regen 2000-03-14 01:46:56 +00:00
tsarna 67027b1103 Add product ids for some VIA Technologies VT82C686A southbridge devices. 2000-03-14 01:45:11 +00:00
enami b3cf850817 Fix typos in comments. 2000-03-14 01:29:30 +00:00
soren 735236ed02 Fix doubled 'the the' in comment. 2000-03-14 00:04:19 +00:00
soren 95054da1a1 Fix doubled 'the's in comments. 2000-03-13 23:52:25 +00:00
cgd 49389b9817 tabbing consistency on the 3c1 entry 2000-03-13 23:36:02 +00:00
augustss e2850da406 Regen. 2000-03-13 21:17:32 +00:00
kristerw ce56ba78b7 Make the inline asm conform to what gcc thinks they should look like (per
discussions in http://gcc.gnu.org/ml/gcc-patches/1998-11/msg00004.html)

Approved by fvdl.
2000-03-13 21:10:24 +00:00
cgd 5402c76d3e add an entry to the product table for the 3C1. This seems to work,
at least as necessary to pull out the MAC address, etc.  Not actually
tested xmit & rcv yet.
2000-03-13 20:32:28 +00:00
cgd 8409d84d62 regen 2000-03-13 20:31:23 +00:00
cgd 00a2570a2e Add 3com Megahertz 3C1 10Mbps LAN CF+ Card 2000-03-13 20:30:24 +00:00
jdolecek 52b9123e1a note lacking sysinst support 2000-03-13 19:00:28 +00:00
uch 9616fd8002 no longer required. 2000-03-13 18:56:40 +00:00
jdolecek 70a3b602bd add MOUNT_NTFS to CTL_VFS_NAMES macro 2000-03-13 18:52:06 +00:00
uch 00363a82c8 sync with hpcfb. 2000-03-13 18:49:15 +00:00
ad f91ce51084 Regen. 2000-03-13 17:24:14 +00:00
ad e22c4b3d1f Add a bunch of Compaq array controllers. 2000-03-13 17:23:26 +00:00
augustss 9f0c40cff1 Add Palm serial adapter. 2000-03-13 17:14:27 +00:00
tsutsui 97970bb544 Reduce memory disk size and remove some options. 2000-03-13 12:58:58 +00:00
martin 8ba340d655 Do the same as biosboot does.
This makes it possible to create serial console dosboot.com's via uncommenting
the appropriate Makefile options.
I needed this when testing the SMP test kernels at work.
2000-03-13 10:51:22 +00:00
martin 112137cd30 Added Artec/Ultima A6000C scanner to the quirks table (no LUNs). 2000-03-13 09:56:26 +00:00
onoe c9af54bf14 Add SIOCGDRVSPEC to get driver specific parameters in addition to the
current definition of SIOCSDRVSPEC.
2000-03-13 05:56:47 +00:00
mycroft b27007be2c Make dependall work. 2000-03-13 03:25:20 +00:00
sato 54dab7a0d1 add BTN_COVER for MC-R520. 2000-03-13 01:57:06 +00:00
sato fd697ef8aa add PWCTL_LCDLIGHT for MC-R300 2000-03-13 01:54:39 +00:00
sato f9dc1cca42 add CONFIG_HOOK_POWERCONTROL_LCDLIGHT 2000-03-13 01:52:00 +00:00
sato 035f58c823 HPC/PsPC keyboard types. 2000-03-13 01:46:44 +00:00
nathanw a7f01b4816 Fix DMAADDR():
Return the mapped address of the block, not the kernel address.
A uhci device now finds devices on my pc164.
2000-03-12 23:10:29 +00:00
augustss b8b53d87db Avoid accessing the device if it is dying. 2000-03-12 21:57:50 +00:00
augustss ce6f0100c1 Remove extra \n in attach message. 2000-03-12 19:16:48 +00:00
veego 347a1f736e Reverse the mapping of the control/status registers. Use I/O before MEM.
My card works now on a TI1220 chipset. Approved by Jason.
2000-03-12 17:05:23 +00:00
uch a57fa19957 change debug message. 2000-03-12 15:42:43 +00:00
uch 44b86d33d6 recognize UCB1100 id. 2000-03-12 15:36:11 +00:00
uch ba8565be98 add WINCE_DEFAULT_SETTING and IT8368E_DESTRUCTIVE_CHECK for debug. 2000-03-12 15:35:29 +00:00
uch 6c57f806b1 sync with btnmgr change. 2000-03-12 15:28:12 +00:00
takemura dc7c050b3b Add wsmux device which is real device in /dev. 2000-03-12 13:46:27 +00:00
takemura b0650cbf17 Change btnmgr to wskbd device from pseudo device. 2000-03-12 12:08:16 +00:00
itojun dcec402dc9 initialize rn with 0, just to be sure 2000-03-12 11:58:15 +00:00
takemura 2996ac1c02 Bivideo utilize platid mechanisum for probing. 2000-03-12 11:46:44 +00:00
mycroft e750135b5e A few things:
* Initialize PCIC_INTR and PCIC_CSC_INTR on all chips, not just TI.
* Leave card detect interrupts enabled in PCIC_CSC_INTR.  (This requires
  reading PCIC_CSC in the interrupt handler on some chips, so do that too.)
* Leave PCIC_INTR_ENABLE set, as some chips require this to post card detect
  interrupts while in PCMCIA mode.
* Leave PCIC_INTR_RESET (which is inverted) set at all times *except* when
  powering up a socket, as some chips will use it to drive RESET# low even
  while a CardBus card is in the slot.

This makes PCMCIA and CardBus cards works with some TI chips.  Cross-checked
with a Toshiba ToPIC 95B.
2000-03-12 11:31:53 +00:00
drochner 30f73f1831 support bus probes a la "badaddr" and VME interrupts, fix error handling
after mapping problems
2000-03-12 11:23:06 +00:00
drochner e135f943fa add support for DMA mapping, bus probes ala "badaddr" and VME interrupts,
improve diagnostic output
2000-03-12 11:21:02 +00:00
takemura c12028016f Add makefile to install hpcfb.h. 2000-03-12 06:40:16 +00:00
sommerfeld f6ec059d2e add newline at end of last line. 2000-03-12 05:35:37 +00:00
nathanw 1203bdcbb3 Bus_space-ify TGA register accesses.
(raster operations are still using pointer-based access)
2000-03-12 05:32:29 +00:00
itojun 7560717e93 undo interface addition attempt if in6_ifinit() fails.
without it, :: will be kept if in6_ifinit() fails.
2000-03-12 05:23:07 +00:00
takemura e9619d5d21 New frame buffer driver 'hpcfb' and built in video controller 'bivideo' 2000-03-12 05:04:44 +00:00
itojun 9f8cac1f16 undo interface address addition attempt, when in_ifinit fails.
(this basically avoids memory leakage)
2000-03-12 05:01:16 +00:00
takemura 058d87a788 Add a new frame buffer identifier for the hpcmips. 2000-03-12 04:59:24 +00:00
mycroft 602faa83a8 Do *not* fiddle with the serial/parallel IRQ mode selection on TI chips.
Without extensive probing, we cannot possibly know that we're doing the right
thing.

Also some stylistic changes.
2000-03-12 04:34:29 +00:00
mycroft 781b535703 Revert the previous change. 2000-03-12 04:27:12 +00:00
mycroft c7a13f6116 Revert the previous change. It does not match the commit message *and* was
incomplete (and probably quite broken).
2000-03-12 04:25:57 +00:00
bouyer 31a775880b lfs_truncate: handle synlinks with length > maxsymlink_len as regular files.
For symlinks > 60 chars we were bzero'ing part of (struct inode) past the
actual inode struct, corrupting memory following the current (struct inode)
resuling in a 'panic: pool_get(lfsinopl): free list modified' later.
This could also be the cause of random panics. With this fix LFS seems to be
useable for me now.
2000-03-12 01:45:01 +00:00
thorpej 5c64f2064d Add missing sc_pil_intr_enable member to pccbb_softc.
XXX Double check this, please.  The code appears to only use it as a
boolean, but...
2000-03-12 01:15:04 +00:00
jdolecek 27fe6c0aee regen 2000-03-11 16:13:39 +00:00
jdolecek d01b78affd Add id for Alliance AT25, as sent by Dave Sainty in kern/9596. 2000-03-11 16:13:14 +00:00
shin 53cff1c1e5 fix typo. 2000-03-11 09:11:33 +00:00
shin 531586bc96 fix frame buffer type (normalized to 'black on white'). 2000-03-11 09:05:17 +00:00
shin a56d95d08b fix PV-6000/C-1000 keycode mapping. 2000-03-11 08:53:33 +00:00
shin b7a1ee6c84 configure controller 0 only (workaround for phantom PCIC). 2000-03-11 08:51:55 +00:00
soren 2d525b16dd The shortened 1371 reset delay in revision 1.32 doesn't seem to be
quite enough for my 1373, so increase it some.
2000-03-11 06:42:37 +00:00
perseant 61fa9e1409 Move vinvalbuf's check for dirty blocks into ffs_fsync, to ensure that
mode and ownership bits are flushed to disk before the vnode is
reclaimed.

The check, introduced in the softdep merge, assumes that if no blocks
are dirty, no file data *or metadata* needs to be flushed to disk.  This
is true of ffs, but is not true of lfs, and may not be true of other
filesystems.

Tested by myself and Bill Squier <groo@cs.stevens-tech.edu>.
2000-03-11 05:00:18 +00:00
thorpej 0fcf68825f Back out previous, and adjust a comment. 2000-03-10 22:39:03 +00:00
bouyer b58bf3c7bb Don't reset cp->hw_ok ro 0 when cp isn't initialised in cy693_chip_map()
(used only in failure case). Pointed out by Wolfgang Solfrank.
While I'm here correct indentation.
2000-03-10 21:21:48 +00:00
tsutsui dc259a36a2 Use CTRL_AST interrupt to handle asynchronous trap. 2000-03-10 19:06:43 +00:00
minoura 37132adf3f Sync. with news68k/news68k/mem.c:1.2. 2000-03-10 16:28:56 +00:00
itojun 673e8e6fad move IPPROTO_DONE to IPPROTO_xx group 2000-03-10 15:30:55 +00:00
itojun 8937ddef33 do not touch radix_node with RNF_ROOT on route_output(). this can
cause kernel panic (by non-root invocation of route(8)) on certain
routing table setup.
KAME PR: 217
2000-03-10 14:47:12 +00:00
kleink fc34e21eac Add an EILSEQ code (C99, first appeared in C90/AMD1), and update message
catalogs where possible.
2000-03-10 13:58:59 +00:00
haya 173f823e3a Only apply power on 3.3 V CardBus card (there are no 5 V CardBus card.) 2000-03-10 11:08:49 +00:00
sato 06f85d40f0 change about VRIPDEBUG. no action changes. 2000-03-10 09:18:00 +00:00
sato 67e7cb40b1 fix print message when #undef VRGIUDEBUG and change a little. 2000-03-10 09:05:01 +00:00
thorpej 7e044bd4e5 Move pretty much all of the PCI configuration goo into a separate
function.
2000-03-10 07:26:41 +00:00
thorpej 370bc1832b Normalize the copyright notice (TNF copyrights should *always* match
the appropriate template), and run through indent.
2000-03-10 07:11:47 +00:00
thorpej 0fef451485 Pull the code that take the Tulip out of powersave mode into a separate
function.
2000-03-10 06:55:09 +00:00