freenode/#mezzano - IRC Chatlog
Search
20:27:11
fittestbits__
About the file attributes - CL provides a couple of discrete functions: file-write-date and file-author. But, adding a discrete function for all of the attributes seems awkward
20:30:36
fittestbits__
Sorry, I meant there's a generic driver for OHCI and EHCI USB controllers - but no specific drivers for Ethernet or WiFi.
20:31:25
fittestbits__
The generic drivers provide APIs for registering a device or class driver and for sending/receiving packets.
20:31:56
fittestbits__
There is a class driver for mass storage, and a HID class driver that supports mice.
20:34:57
fittestbits__
The mass storage driver is relatively simple - some code to parse configuration info from the device and then read and write routines.
20:36:34
fittestbits__
The HID code is complicated because the device configuration information contains a description of the messages that the device generates.
20:37:54
fittestbits__
alexshendi: where did I lose you ... happy to answer questions or explain more ...
20:38:49
froggey
a single function for file properties seems good, but multiple values would be a bit restrictive. returning a plist would let file system return custom attributes
20:40:32
fittestbits__
That makes sense. A plist has good flexibility - not like a structure or class or multiple values ...
20:42:19
alexshendi
I am sorry, I really don't know much about either Ethernet adapters or USB in general.
20:44:00
fittestbits__
OK - OHCI controllers support USB 1.1, EHCI controllers support USB 2 and often (always?) come with an OHCI controller for USB 1.1. and XHCI controllers support USB 3.
20:44:01
alexshendi
fittestbits__, froggey: Thank you for your explanations. I must go to bed now, amm really tired. Good night!
20:57:38
stylewarning
Is there a tracker somewhere for minimum drivers needed to run on Real Hardware?
21:00:02
froggey
my test machine is an Intel D945GCLF2 and there are drivers for everything but the UHCI controller
21:18:01
fittestbits__
froggey: merged up to the latest code and boot is failing - hanging at the end of the PCI scan. This is on VBox.
21:23:59
froggey
ok. I think the new spurious IRQ detection code is too eager, try without the second controller for now if you can
22:36:02
froggey
oh whoops. I had the sense of the PIC In Service Register inverted, it was treating non-spurious IRQ7/15s as being spurious and spurious ones as non-spurious
22:43:23
froggey
fittestbits__ and Shinmera, if you could take a look and let me know if that seems like a sensible design
22:44:00
froggey
fittestbits__: also I've added timeouts to the ATA & AHCI interrupt paths, so that IRQ sharing issue you were having on real hardware should be less of a problem
6:22:34
Shinmera
froggey: Do note though that FAT does have other file attributes, namely flags for whether a file is hidden, system-file, directory, archived, device file, normal, or temporary
6:29:45
Shinmera
froggey: https://github.com/Shinmera/file-attributes/commit/1496d51f2d9361f707c7e5e20f294eac615fd026