summaryrefslogtreecommitdiffstats
path: root/sys/pc98
Commit message (Collapse)AuthorAgeFilesLines
* Permits UFS ACLs to be used with the GENERIC kernel. Due to recentrwatson2002-10-191-0/+1
| | | | | | | | | | | | | ACL configuration changes, this shouldn't result in different code paths for file systems not explicitly configured for ACLs by the system administrator. For UFS1, administrators must still recompile their kernel to add support for extended attributes; for UFS2, it's sufficient to enable ACLs using tunefs or at mount-time (tunefs preferred for reliability reasons). UFS2, for a variety of reasons, including performance and reliability, is the preferred file system for use with ACLs. Approved by: re
* Switch from the bs driver to the ct driver.nyan2002-10-171-3/+3
|
* Merged from sys/isa/syscons_isa.c revision 1.19.nyan2002-10-172-0/+8
|
* Merged from sys/dev/syscons/syscons.c revision 1.390.nyan2002-10-171-1/+2
|
* MFi386: revision 1.54.nyan2002-10-161-4/+4
|
* MFi386: revision 1.130.nyan2002-10-161-1/+1
|
* Unbreak the PC98/wd(4) driver which I accidentally broke with a previousphk2002-10-161-3/+3
| | | | | | commit. I can fully understand why the PC98 crew desire ata(4) support. Tested by: nyan
* MFi386: revision 1.9.nyan2002-10-141-5/+0
|
* Merged from sys/dev/sio/sio.c revision 1.382.nyan2002-10-142-2/+2
|
* Remove the P1003_1B kernel option; it is no longer used.mike2002-10-131-2/+1
|
* - kserunnable() is now sched_runnable() change instances of these wherejeff2002-10-122-4/+6
| | | | | appropriate. - include sched.h to see this new api.
* Fixed a warning if COM_MULTIPORT option is not defined.nyan2002-10-102-2/+2
| | | | Submitted by: Kaho Toshikazu <kaho@elam.kais.kyoto-u.ac.jp>
* Fixed SBUS_RA_*_region_* functions.nyan2002-10-102-128/+334
|
* MFi386: revision 1.67.nyan2002-10-081-1/+1
|
* MFi386: revisions 1.539, 1.540 and 1.541.nyan2002-10-082-24/+40
|
* Merged from sys/isa/fd.c revisions 1.224 and 1.241.nyan2002-10-072-6/+22
|
* NB: This commit does *NOT* make GEOM the default in FreeBSDphk2002-10-051-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NB: But it will enable it in all kernels not having options "NO_GEOM" Put the GEOM related options into the intended order. Add "options NO_GEOM" to all kernel configs apart from NOTES. In some order of controlled fashion, the NO_GEOM options will be removed, architecture by architecture in the coming days. There are currently three known issues which may force people to need the NO_GEOM option: boot0cfg/fdisk: Tries to update the MBR while it is being used to control slices. GEOM does not allow this as a direct operation. SCSI floppy drives: Appearantly the scsi-da driver return "EBUSY" if no media is inserted. This is wrong, it should return ENXIO. PC98: It is unclear if GEOM correctly recognizes all variants of PC98 disklabels. (Help Wanted! I have neither docs nor HW) These issues are all being worked. Sponsored by: DARPA & NAI Labs.
* Don't use dkunit() to find our softc when we can hang it off the dev_t.phk2002-10-052-27/+24
| | | | | | This removes yet a dependency on the old disklabel stuff. Sponsored by: DARPA & NAI Labs.
* Merge the last couple of my changes to fd.c into the pc98 version.phk2002-10-052-102/+40
| | | | Sponsored by: DARPA & NAI Labs
* Split MBR and PC98 on-disk sliceformats out from disklabel.h, step 1:phk2002-10-011-0/+5
| | | | | | | | | | | | | | | | Peter had repocopied sys/disklabel.h to sys/diskpc98.h and sys/diskmbr.h. These two new copies are still intact copies of disklabel.h and therefore protected by #ifndef _SYS_DISKLABEL_H_ so #including them in programs which already include <sys.disklabel.h> is currently a no-op. This commit adds a number of such #includes. Once I have verified that I have fixed all the places which need fixing, I will commit the updated versions of the three #include files. Sponsored by: DARPA & NAI Labs.
* Call bus_set_resource() to set the ioport resource.nyan2002-09-301-0/+2
|
* Added some buggy PC-98 PnP cards support.nyan2002-09-292-8/+38
|
* Merged from sys/isa/fd.c revision 1.238.nyan2002-09-292-8/+8
|
* Merged from sys/dev/syscons/syscons.c revision 1.389.nyan2002-09-291-5/+5
|
* Merged from sys/dev/sio/sio.c revisions 1.380 and 1.381.nyan2002-09-292-18/+16
|
* MFi386: revisions 1.127, 1.128 and 1.129.nyan2002-09-241-20/+21
|
* Move the com_emr register definition to sioreg.h.nyan2002-09-242-8/+0
|
* Merged from sys/dev/sio/sio.c revision 1.379.nyan2002-09-242-2/+0
|
* MFi386: revisions 1.536 and 1.538.nyan2002-09-242-12/+8
|
* use __packed.alfred2002-09-232-2/+2
|
* Remove #ifdef/#endif 3 years after the stuff they protected was removed.phk2002-09-213-6/+0
| | | | Spotted by: peter.
* (This commit touches about 15 disk device drivers in a very consistentphk2002-09-201-9/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and predictable way, and I apologize if I have gotten it wrong anywhere, getting prior review on a patch like this is not feasible, considering the number of people involved and hardware availability etc.) If struct disklabel is the messenger: kill the messenger. Inside struct disk we had a struct disklabel which disk drivers used to communicate certain metrics to the disklayer above (GEOM or the disk mini-layer). This commit changes this communication to use four explicit fields instead. Amongst the benefits is that the fields do not get overwritten by wrong or bogus on-disk disklabels. Once that is clear, <sys/disk.h> which is included in the drivers no longer need to pull <sys/disklabel.h> and <sys/diskslice.h> in, the few places that needs them, have gotten explicit #includes for them. The disklabel inside struct disk is now only for internal use in the disk mini-layer, so instead of embedding it, we malloc it as we need it. This concludes (modulus any mistakes) the series of disklabel related commits. I belive it all amounts to a NOP for all the rest of you :-) Sponsored by: DARPA & NAI Labs.
* For reasons now lost in historical fog, the bounds_check_with_label()phk2002-09-202-118/+0
| | | | | | | | | | | | function were put in i386/i386/machdep.c from where it has been cut and pasted to other architectures with only minor corruption. Disklabel is really a MI format in many ways, at least it certainly is when you operate on struct disklabel. Put bounds_check_with_label() back in subr_disklabel.c where it belongs. Sponsored by: DARPA & NAI Labs.
* #include <sys/disk.h> to get disk_err() prototype.phk2002-09-203-0/+3
| | | | Sponsored by: DARPA & NAI Labs.
* Make FreeBSD "struct disklabel" agnostic, step 311 of 723:phk2002-09-204-12/+9
| | | | | | | | | | | | | | | | | | | | | | | | | Rename diskerr() to disk_err() for naming consistency. Drop the by now entirely useless struct disklabel argument. Add a flag argument for new-line termination. Fix a couple of printf-format-casts to %j instead of %l. Correctly print the name of all bio commands. Move the function from subr_disklabel.c to subr_disk.c, and from <sys/disklabel.h> to <sys/disk.h>. Use the new disk_err() throughout, #include <sys/disk.h> as needed. Bump __FreeBSD_version for the sake of the aac disk drivers #ifdefs. Remove unused disklabel members of softc for aac, amr and mlx, which seem to originally have been intended for diskerr() use, but which only rotted and got Copy&Pasted at least two times to many. Sponsored by: DARPA & NAI Labs.
* MFi386: revisions 1.534 and 1.535.nyan2002-09-192-18/+402
|
* Initiate deorbit burn for the i386-only a.out related support. Moves arepeter2002-09-171-4/+0
| | | | | | | | | | | | | | | under way to move the remnants of the a.out toolchain to ports. As the comment in src/Makefile said, this stuff is deprecated and one should not expect this to remain beyond 4.0-REL. It has already lasted WAY beyond that. Notable exceptions: gcc - I have not touched the a.out generation stuff there. ldd/ldconfig - still have some code to interface with a.out rtld. old as/ld/etc - I have not removed these yet, pending their move to ports. some includes - necessary for ldd/ldconfig for now. Tested on: i386 (extensively), alpha
* Merged from sys/isa/fd.c revisions 1.234, 1.235 and 1.236.nyan2002-09-162-18/+10
|
* Merged from sys/dev/sio/sio.c revision 1.378.nyan2002-09-162-2/+12
|
* Merged from sys/isa/syscons_isa.c revision 1.18.nyan2002-09-162-0/+70
|
* Allocate KSEs and KSEGRPs separatly and remove them from the proc structure.julian2002-09-152-2/+2
| | | | | | | | | next step is to allow > 1 to be allocated per process. This would give multi-processor threads. (when the rest of the infrastructure is in place) While doing this I noticed libkvm and sys/kern/kern_proc.c:fill_kinfo_proc are diverging more than they should.. corrective action needed soon.
* Fill out two fields (si_pid, si_uid) in the siginfo structure handed backjmallett2002-09-072-0/+4
| | | | | | | | | | | | | | | | to userland in the signal handler that were not being iflled out before, but should and can be. This part of sendsig could be slightly refactored to use an MI interface, or ideally, *sendsig*() would have an API change to accept a siginfo_t, which would be filled out by an MI function in the level above sendsig, and said MI function would make a small call into MD code to fill out the MD parts (some of which may be bogus, such as the si_addr stuff in some places). This would eventually make it possible for parts of the kernel sending signals to set up a siginfo with meaningful information. Reviewed by: mux MFC after: 2 weeks
* Diff reduction in comments for filling the siginfo structure - refer tojmallett2002-09-072-2/+2
| | | | | filling in the POSIX parts, when doing the same thing in every port of FreeBSD.
* Automatically enable CPU_ENABLE_SSE (detect and enable SSE instructions)peter2002-09-072-0/+14
| | | | | | | | if compiling with I686_CPU as a target. CPU_DISABLE_SSE will prevent this from happening and will guarantee the code is not compiled in. I am still not happy with this, but gcc is now generating code that uses these instructions if you set CPUTYPE to p3/p4 or athlon-4/mp/xp or higher.
* Take a shot at fixing up a whole stack of style and other embarresingpeter2002-08-312-36/+24
| | | | | unforced errors that Bruce identified. I have not yet addressed all of his concerns.
* Change hw.physmem and hw.usermem to unsigned long like they used to bepeter2002-08-302-26/+46
| | | | | | | | | | | | | in the original hardwired sysctl implementation. The buf size calculator still overflows an integer on machines with large KVA (eg: ia64) where the number of pages does not fit into an int. Use 'long' there. Change Maxmem and physmem and related variables to 'long', mostly for completeness. Machines are not likely to overflow 'int' pages in the near term, but then again, 640K ought to be enough for anybody. This comes for free on 32 bit machines, so why not?
* Renamed poorly named setregs to exec_setregs. Moved its prototype tojake2002-08-292-2/+4
| | | | imgact.h with the other exec support functions.
* Replace various spelling with FALLTHROUGH which is lint()ablecharnier2002-08-254-6/+6
|
* Merged from sys/dev/syscons/scvtb.c revision 1.9.nyan2002-08-222-8/+8
|
* Merged from sys/dev/syscons/syscons.c revision 1.388.nyan2002-08-221-1/+1
|
OpenPOWER on IntegriCloud